Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- spin () {
- rotations=3
- delay=0.1
- for i in `seq 0 $rotations`; do
- for char in '|' '/' '-' '\'; do
- echo -n $char
- sleep $delay
- printf "\b"
- done
- done
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement