4 echo Generating Unicode2ascii translation table.
6 cat 7bitrepl.lnx |
awk -f tr7bit.
awk >tmp
8 echo '/* Automatically generated by gen-7b */'
9 echo '/* DO NOT EDIT THIS FILE! EDIT Unicode/7bitrepl.lnx INSTEAD! */'
11 echo 'struct { unicode_val_T x; unsigned char *s; } unicode_7b ['`expr $N + 1`'] = {'
12 sort tmp |
sed 's/\\/\\\\/g' |
sed 's/"/\\"/g' |
sed 's/^/ {/' |
sed 's/:/, "/' |
sed 's/$/"},/'
16 echo '#define N_UNICODE_7B' $N
17 )>..
/src
/intl
/uni_7b.inc