显示雪花型的动态进度条

#!bin/bash
#功能:显示雪花型的动态进度条.
#作者:liusingbon
while :
do
clear
    for i in {1..20}
    do
        echo -e "33[3;${i}H*"
        sleep 0.1
    done
clear
    for i in {20..1}
    do
        echo -e "33[3;${i}H*"
    sleep 0.1
    done
clear
done

原文地址:https://www.cnblogs.com/liusingbon/p/11122792.html