The progress bar displays dynamic type of snowflakes

! # bin / bash
# function: progress bar displays dynamic type of snowflakes.
# Author: liusingbon
the while:
do
the Clear
    for i in {1..20}
    do
        echo -e "\ 033 [3; $ {i} H *"
        0.1 SLEEP
    DONE
Clear
    for in {20..1} I
    do
        echo -e "\ 033 [. 3; {I} $ H *"
    SLEEP 0.1
    DONE
Clear
DONE

 

Guess you like

Origin www.cnblogs.com/liusingbon/p/11122792.html