Created
January 24, 2021 22:27
-
-
Save aaronpuchert/696ab0f125c0fa2e60561d8bd8d6633f to your computer and use it in GitHub Desktop.
Testing terminal typesetting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo -e '\\e[1m \e[1mbold\e[21m \\e[21m' | |
echo -e '\\e[3m \e[3mitalic\e[23m \\e[23m' | |
echo -e '\\e[4m \e[4munderline\e[24m \\e[24m' | |
echo -e '\\e[5m \e[5mblinking\e[25m \\e[25m' | |
echo -e '\\e[9m \e[9mstrikethrough\e[29m \\e[29m' | |
echo -e '\\e[53m \e[53moverline\e[55m \\e[55m' | |
echo -e '\\e[XXm' | |
for i in $(seq 30 38) | |
do | |
printf "\e[%dm%d\t\t\e[%dm%d\n" $i $i $((i+60)) $((i+60)) | |
done | |
echo -e '\e[39m\\e[39m - Reset colour' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment