Created
October 26, 2013 20:24
-
-
Save bcicen/7174108 to your computer and use it in GitHub Desktop.
Fun progress bar
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
#!/bin/bash | |
tput civis | |
while : | |
do | |
counter=0 | |
for i in '\xE2\x96\x99' '\xE2\x96\x9b' '\xE2\x96\x9c' '\xE2\x96\x9f' | |
do | |
echo -ne "${i}" | |
sleep .1 | |
echo -ne "\b" | |
let counter++ | |
echo -ne "\xE2\xac\x9b" | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment