diff options
Diffstat (limited to 'console-client/xkb/kstoucs_map.sh')
-rw-r--r-- | console-client/xkb/kstoucs_map.sh | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/console-client/xkb/kstoucs_map.sh b/console-client/xkb/kstoucs_map.sh deleted file mode 100644 index 624d3518..00000000 --- a/console-client/xkb/kstoucs_map.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -SED=${SED:-sed} -AWK=${AWK:-awk} - -$SED -n -e 's/#define XK_[a-zA-Z0-9_]\+\s\+\(0x[0-9a-fA-F]\+\)\s*\/\*\s*U+\([0-9a-fA-F]\+\).*\*\//\1\t0x\2/p' \ - | $AWK '{ print strtonum($1) "\t" $2; }' \ - | sort -n -k1 \ - | $AWK ' - BEGIN { print "struct ksmap kstoucs_map[] = {" } - { - if (NR == 1) - separator =" "; - else - separator =" , "; - - if (strtonum($1) < 0x1000000) - print separator "{ " $1 ", " $2 " }" - } - END { print "};" }' |