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

7 lines
183 B
Bash
Executable File

#!/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