Skip to content

Commit 756a593

Browse files
committed
[fix] : Unified the number of digits in the number
1 parent e211992 commit 756a593

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/wizard.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -643,12 +643,12 @@ function select_channel () {
643643
description="This channel does not have a description.txt."
644644
fi
645645
fi
646-
echo -ne "${count} ${_channel}"
646+
echo -ne "$(printf %02d "${count}") ${_channel}"
647647
for i in $( seq 1 $(( 19 - ${#_channel} )) ); do
648648
echo -ne " "
649649
done
650650
echo -ne "${description}\n"
651-
count=$(( count + 1 ))
651+
count="$(( count + 1 ))"
652652
done
653653
echo -n ":"
654654
read channel

0 commit comments

Comments
 (0)