Why does this code not execute the for loop in bash but print what it should loop over? How would execute the for loop like this?
read N R
for i in {0..$[(N-1)*R]..$R};do
echo $i;done
Yes the code looks horrible but it was for a least amount of characters code challenge.