changeset 89746:b7afe7c870d3

In UNICODE2 case, sort by 4th field after running an awk program.
author Kenichi Handa <handa@m17n.org>
date Sun, 25 Jan 2004 23:37:19 +0000
parents 708856d4c65b
children 09b8cb925c81
files admin/charsets/mapconv
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/admin/charsets/mapconv	Sun Jan 25 23:35:58 2004 +0000
+++ b/admin/charsets/mapconv	Sun Jan 25 23:37:19 2004 +0000
@@ -114,7 +114,7 @@
     #   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)