summaryrefslogtreecommitdiffstats
path: root/bin/tidy-bowl
diff options
context:
space:
mode:
Diffstat (limited to 'bin/tidy-bowl')
-rwxr-xr-xbin/tidy-bowl9
1 files changed, 8 insertions, 1 deletions
diff --git a/bin/tidy-bowl b/bin/tidy-bowl
index 87e08c7..22f3f68 100755
--- a/bin/tidy-bowl
+++ b/bin/tidy-bowl
@@ -45,8 +45,9 @@ shift `/usr/bin/expr "${OPTIND}" - 1`
for fn in $@
do
case "${fn}" in
- *.[Xx][Mm][Ll] )
+ *-[Ee][Nn].[Xx][Mm][Ll] )
# Make sure we can find the input file
+ # /bin/echo "$0: English XML file ${fn} prettyprinted."
if [ ! -f "${fn}" ]; then
/bin/echo $0 "Cannot find '${fn}'"
exit 1
@@ -58,7 +59,13 @@ do
exit 1
fi
;;
+ *.[Xx][Mm][Ll] )
+ # A non-English XML file. What to do, what to do?
+ # /bin/echo "$0: Non-English XML file ${fn} left unchanged."
+ ;;
* )
+ # Some other kind of file. DO NOTHING!!!
+ # /bin/echo "$0: file ${fn} left unchanged."
;;
esac
done