Created
May 16, 2017 19:10
-
-
Save flickerfly/98f7d862a95abb6994ff4294b9a3db45 to your computer and use it in GitHub Desktop.
Count, right aligned
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
final=800 | |
counter=0 | |
while [ $counter -le $final ]; do | |
printf "\r %75s/%4s" $counter $final | |
sleep 1 | |
((counter++)); | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment