awk 'BEGIN { for (i=0; i < 0x80; ++i) { printf("<U%04X> \\x%02X |0\n", i, i);}}
-!/^#/ && !/^$/ { printf ("<U%4s> \\x%02X |0\n", substr($2, 2), $1 + 0x80);}' \
+!/^#/ && !/^$/ { printf ("<U%4s> \\x%02X |0\n", substr($2, 3), $1 + 0x80);}' \
index-ibm866.txt | sort