From bf4fc58b8b3942aecff80cec7d155e1e26b0e9d8 Mon Sep 17 00:00:00 2001 From: hasecilu Date: Wed, 31 May 2023 11:37:06 -0600 Subject: [PATCH] Update style of for loop, from using seq to C style. --- bin/scripts/test-fonts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/scripts/test-fonts.sh b/bin/scripts/test-fonts.sh index 754c66f98..3854bb3b4 100755 --- a/bin/scripts/test-fonts.sh +++ b/bin/scripts/test-fonts.sh @@ -39,7 +39,7 @@ function print-decimal-unicode-range() { # add fillers to array to maintain table: if [ "$leftoverSpaces" -lt "$wrapAt" ]; then - for _ in $(seq 1 $leftoverSpaces); do + for ((c = 1; c <= leftoverSpaces; c++)); do originalSequence+=(0) done fi