You broke it!
#!/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