Removed middle-dot in print function

This commit is contained in:
GizMoCuz 2020-07-08 16:36:50 +02:00
parent c00e208286
commit 7aa91fc67a
2 changed files with 2 additions and 2 deletions

View file

@ -40,7 +40,7 @@ if [ "${#CLIENTS_TO_SHOW[@]}" -eq 0 ]; then
len=${#LIST[@]} len=${#LIST[@]}
COUNTER=1 COUNTER=1
while [ $COUNTER -le ${len} ]; do while [ $COUNTER -le ${len} ]; do
printf "[%0${#len}s] %s\r\n" ${COUNTER} ${LIST[(($COUNTER-1))]} printf "[%0${#len}s] %s\r\n" ${COUNTER} ${LIST[(($COUNTER-1))]}
((COUNTER++)) ((COUNTER++))
done done

View file

@ -48,7 +48,7 @@ if [ "${#CLIENTS_TO_REMOVE[@]}" -eq 0 ]; then
len=${#LIST[@]} len=${#LIST[@]}
COUNTER=1 COUNTER=1
while [ $COUNTER -le ${len} ]; do while [ $COUNTER -le ${len} ]; do
printf "[%0${#len}s] %s\r\n" ${COUNTER} ${LIST[(($COUNTER-1))]} printf "[%0${#len}s] %s\r\n" ${COUNTER} ${LIST[(($COUNTER-1))]}
((COUNTER++)) ((COUNTER++))
done done