docs-common/bin tidy-bowl,1.3,1.4

Tommy Reynolds (jtr) fedora-docs-commits at redhat.com
Sun Nov 6 08:51:34 UTC 2005


Author: jtr

Update of /cvs/docs/docs-common/bin
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9966/docs-common/bin

Modified Files:
	tidy-bowl 
Log Message:
Allow XML written in one of the Romance languages to be prettyprinted
using the Tidy Bowl infrastructure.  We need to keep non-latin1 characters
from passing though "xmlformat", but it doesn't matter what word the latin1
characters spell ;-)  N.B.: you could also read "latin1" as "iso-8859-1" 
and friends.



Index: tidy-bowl
===================================================================
RCS file: /cvs/docs/docs-common/bin/tidy-bowl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- tidy-bowl	25 Oct 2005 20:30:24 -0000	1.3
+++ tidy-bowl	6 Nov 2005 08:51:27 -0000	1.4
@@ -45,9 +45,9 @@
 for fn in $@
 do
 	case "${fn}" in
-	*-[Ee][Nn].[Xx][Mm][Ll] )
+	*-de.xml | *-en.xml | *-fr-xml | *-it.xml )
 		# Make sure we can find the input file
-		# /bin/echo "$0: English XML file ${fn} prettyprinted."
+		# /bin/echo "$0: XML file ${fn} prettyprinted."
 		if [ ! -f "${fn}" ]; then
 			/bin/echo $0 "Cannot find '${fn}'"
 			exit 1
@@ -59,9 +59,9 @@
 			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."
+	*.xml )
+		# A non-Romance XML file.  What to do, what to do?
+		# /bin/echo "$0: Non-Romance XML file ${fn} left unchanged."
 		;;
 	* )
 		# Some other kind of file.  DO NOTHING!!!




More information about the Fedora-docs-commits mailing list