倒计时

echo -n Count;

tput sc

count=0;

while true;

do

if [ $count -lt 40 ];

then let count++;

sleep 1;

tput rc

tput ed

echo -n $count;

else exit 0;

fi

done

posted on 2013-06-17 14:05  awk  阅读(117)  评论(0)    收藏  举报

导航