总的来说就是一个滚动的米字。
#!/bin/bash SEQ="─ \ | / " while [ "1" = "1" ] ; do for chr in $SEQ ; do echo -n -e "\r [ $chr ]" sleep 0.1 done done
总的来说就是一个滚动的米字。
#!/bin/bash SEQ="─ \ | / " while [ "1" = "1" ] ; do for chr in $SEQ ; do echo -n -e "\r [ $chr ]" sleep 0.1 done done