s4:kdc Fill in more data fields
[Samba/ekacnet.git] / source3 / script / gen-8bit-gap.awk
blob59a1a23be0775653223118b0463ae92feb6fd5eb
1 BEGIN {
2 for (i=0; i<256; i++) {
3 tbl[sprintf("%02x",i)] = "0x0000";
7 /^<U([[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]])>[[:space:]]*.x([[:xdigit:]][[:xdigit:]])[:space:]*.*$/ {
8 tbl[substr($2,3,2)]=sprintf("0x%s",substr($1,3,4));
11 END {
12 for(i=0; i<32; i++) {
13 for(j=0; j<8; j++) {
14 printf(" %s,", tbl[sprintf("%02x",i*8+j)]);
16 printf "\n"