艺术
affect.sh
#!/usr/bin/env bash arr=('-' '\' '|' '/') while true; do for c in "${arr[@]}"; do echo -en "\r $c " sleep .5 done done
执行: