Skip to content

Instantly share code, notes, and snippets.

@bcicen
Created October 26, 2013 20:24
Show Gist options
  • Save bcicen/7174108 to your computer and use it in GitHub Desktop.
Save bcicen/7174108 to your computer and use it in GitHub Desktop.
Fun progress bar
#!/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