I am running the following bash code:
num=$(ls -1 $ini/*.ini | wc -l)
echo "Running $num simulations..."
for i in {1..$num};
do
echo "a"
done
And I get the following output:
Running 24 simulations...
a
It should print 24 lines of 'a', but it doesn't. What should I change? Thanks!