mps
This commit is contained in:
parent
509c09a899
commit
27a5c40ca5
3
bin/mps
3
bin/mps
|
@ -487,9 +487,8 @@ dongu_gosterge(){
|
|||
count=0
|
||||
total=$1
|
||||
pstr="[=======================================================================]"
|
||||
|
||||
while [ $count -lt $total ]; do
|
||||
sleep 0.5 # this is work
|
||||
sleep 0.5 # yapılacak iş veya uyutulur.
|
||||
count=$(( $count + 1 ))
|
||||
pd=$(( $count * 73 / $total ))
|
||||
printf "\r%3d.%1d%% %.${pd}s" $(( $count * 100 / $total )) $(( ($count * 1000 / $total) % 10 )) $pstr
|
||||
|
|
Loading…
Reference in New Issue