aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/xterm/unicode/make-precompose.sh
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/xterm/unicode/make-precompose.sh')
-rw-r--r--nx-X11/programs/xterm/unicode/make-precompose.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/nx-X11/programs/xterm/unicode/make-precompose.sh b/nx-X11/programs/xterm/unicode/make-precompose.sh
new file mode 100644
index 000000000..747866c4d
--- /dev/null
+++ b/nx-X11/programs/xterm/unicode/make-precompose.sh
@@ -0,0 +1,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