recurse-talks/terminal-escapes/alternate-character-set

7 lines
183 B
Plaintext
Raw Normal View History

2025-02-27 14:34:54 -08:00
#!/bin/sh
# alternate-character-set - A simple script
for i in $(seq 65 126); do
c=$(printf "\\x$(printf "%02x" $i)")
printf "0x%02x %c: \033(0%c\033(B\n" "$i" "$c" "$c"
done