cptable.pl: it seems to make more sense to put console first
authorH. Peter Anvin <hpa@zytor.com>
Sun, 29 Jun 2008 02:09:07 +0000 (19:09 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 29 Jun 2008 02:09:07 +0000 (19:09 -0700)
It seems to make more sense to put the console codepage first, since
it is the more significant of the two codepages.  It also makes more
sense in the from..to sense.

codepage/cptable.pl

index 416e730..c7e2002 100755 (executable)
@@ -5,16 +5,16 @@
 # matching.)
 #
 # Usage:
-#      cptable.pl UnicodeData filesystem-cp.txt console-cp.txt output.cp
+#      cptable.pl UnicodeData console-cp.txt filesystem-cp.txt output.cp
 #
 # Note: for the format of the UnicodeData file, see:
 # http://www.unicode.org/Public/UNIDATA/UCD.html
 #
 
-($ucd, $cpfs, $cpco, $cpout) = @ARGV;
+($ucd, $cpco, $cpfs, $cpout) = @ARGV;
 
 if (!defined($cpout)) {
-    die "Usage: $0 UnicodeData fs-cp.txt console-cp.txt output.cp\n";
+    die "Usage: $0 UnicodeData console-cp.txt fs-cp.txt output.cp\n";
 }
 
 %ucase   = ();