days 11/16: remove faulty use of external command (seq)

This commit is contained in:
2021-07-30 19:21:16 +02:00
parent 9c60bd6d12
commit 92cc3e90c4
8 changed files with 34 additions and 34 deletions

View File

@@ -162,7 +162,7 @@ NCOLS=${#rowsstr[0]}
NROWS=${#rowsstr[@]}
SIZE=$((NCOLS * NROWS))
printf -v zeroed '%0.s0 ' $(seq 1 $SIZE)
printf -v zeroed '%0.s0 ' $(eval "echo {1.. $SIZE}")
# split arrays in integers
for ((r=0; r<NROWS; ++r)); do