#!/bin/bash b='' for ((i=0;$i<=100;i+=2)) do printf "progress:[%-50s]%d%%\r" $b $i sleep 0.1 b=#$b done echo
This entry was posted on Saturday, July 24th, 2010 at 21:44 and is filed under Linux. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
用户名
电子邮箱 (不会被公布)
网站
Δ