Skip to content

Instantly share code, notes, and snippets.

@Flushot
Last active January 19, 2016 02:52
Show Gist options
  • Select an option

  • Save Flushot/3d001fed4b1496516331 to your computer and use it in GitHub Desktop.

Select an option

Save Flushot/3d001fed4b1496516331 to your computer and use it in GitHub Desktop.
#!/bin/bash
lines="-\|/"
i=0
while : ; do
printf "\r\033[5mReticulating splines\033[25m %s" ${lines:$i:1}
i=$(((i + 1) % 4))
sleep 0.5
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment