1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#!/bin/bash # # spin.bash -- provide a `spinning wheel' to show progress # # Chet Ramey # chet@po.cwru.edu # bs=$'\b' chars="|${bs} \\${bs} -${bs} /${bs}" # Infinite loop for demo. purposes while : do for letter in $chars do echo -n ${letter} done done exit 0