2 # $Id: gen-7b,v 1.8 2005/03/05 21:49:29 zas Exp $
5 echo Generating Unicode2ascii translation table.
7 cat 7bitrepl.lnx |
awk -f tr7bit.
awk >tmp
9 echo '/* Automatically generated by gen-7b */'
10 echo '/* DO NOT EDIT THIS FILE! EDIT Unicode/7bitrepl.lnx INSTEAD! */'
12 echo 'struct { unicode_val_T x; unsigned char *s; } unicode_7b ['`expr $N + 1`'] = {'
13 sort tmp |
sed 's/\\/\\\\/g' |
sed 's/"/\\"/g' |
sed 's/^/ {/' |
sed 's/:/, "/' |
sed 's/$/"},/'
17 echo '#define N_UNICODE_7B' $N
18 )>..
/src
/intl
/uni_7b.inc