From 16a207a8d78d2fbe68cacfdde4a883c149d5ae4a Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Sun, 25 Jan 2004 23:37:19 +0000 Subject: [PATCH] In UNICODE2 case, sort by 4th field after running an awk program. --- admin/charsets/mapconv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/charsets/mapconv b/admin/charsets/mapconv index e8892607380..2c07f51972e 100755 --- a/admin/charsets/mapconv +++ b/admin/charsets/mapconv @@ -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) -- 2.39.2