aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/xterm/unicode/make-precompose.sh
blob: 747866c4dd1c249d11058168ee7bd17d04484b0e (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
# $XTermId: make-precompose.sh,v 1.5 2005/04/03 16:58:30 tom Exp $
# $XFree86: xc/programs/xterm/unicode/make-precompose.sh,v 1.4 2005/03/29 04:00:32 tsi Exp $
cat precompose.c.head | sed -e's/@/$/g'
cut UnicodeData.txt -d ";" -f 1,6 | \
 grep ";[0-9,A-F]" | grep " " | \
 sed -e "s/ /, 0x/;s/^/{ 0x/;s/;/, 0x/;s/$/},/" | (sort -k 3 || sort +2)
cat precompose.c.tail