-
-
Save plainspooky/0e4e5f1b075ff2d1a1057ea27e968090 to your computer and use it in GitHub Desktop.
This file contains 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
#!/usr/bin/env bash | |
for fundo in {0..7}; do | |
for frente in {0..7}; do | |
if (( frente == fundo )); then | |
let frente=7-frente | |
fi | |
tput setaf ${frente} | |
tput setab ${fundo} | |
printf "[ cor ]" | |
tput sgr0 | |
done | |
printf "\n" | |
done | |
# vim: tabstop=4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment