Created
May 8, 2014 12:59
-
-
Save oxguy3/ad974da7c5454ff8c864 to your computer and use it in GitHub Desktop.
You broke it!
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 | |
FILES=/usr/bin/* | |
COLOR=1 | |
while true | |
do for f in $FILES | |
do cat $f | |
tput setaf $COLOR | |
tput bel | |
let "COLOR=COLOR+1" | |
if ((COLOR > 7)); then | |
let "COLOR=1" | |
fi | |
sleep 0.05 | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment