Skip to content

Commit

Permalink
nicer format
Browse files Browse the repository at this point in the history
  • Loading branch information
jiang548 committed May 4, 2022
1 parent 681fbbd commit 597b94b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions script/file_manage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ do
N_finished=$(cat $prefix[0-9]*.completed 2>/dev/null | wc -l | tail -1)

if [[ $N_finished -gt $N_record ]]; then
if [[ $N_record -eq 0 ]]; then
printf "\n"
fi
for i in $(seq 1 $(($N_finished * $bar_len / $N)))
do
printf "#"
Expand Down

0 comments on commit 597b94b

Please sign in to comment.