]> git.eshelyaron.com Git - emacs.git/commitdiff
In UNICODE2 case, sort by 4th field after
authorKenichi Handa <handa@m17n.org>
Sun, 25 Jan 2004 23:37:19 +0000 (23:37 +0000)
committerKenichi Handa <handa@m17n.org>
Sun, 25 Jan 2004 23:37:19 +0000 (23:37 +0000)
running an awk program.

admin/charsets/mapconv

index e88926073807656bbceb3bfe8a5c354327cc4a3c..2c07f51972e40ace93384b030a3262525cd7d72e 100755 (executable)
@@ -114,7 +114,7 @@ elif [ "$3" == "UNICODE2" ] ; then
     #   0xXXXX 0xYYYY  # ...
     sed -n -e "$2 p" < $1 \
        | sed -e 's/\([0-9A-Fx]*\)[^0]*\([0-9A-Fx]*\).*/\1 \2/' \
-       | sort | ${AWKPROG}
+       | ${AWKPROG} | sort -n -k 4,4
 elif [ "$3" == "YASUOKA" ] ; then
     # Source format is:
     # YYYY     0-XXXX (XXXX is a Kuten code)