How do I iterate over a range of numbers in Bash when the range is given by a variable?
I know I can do this (called \"sequence expression\" in the Bash documentatio
This works fine in bash:
bash
END=5 i=1 ; while [[ $i -le $END ]] ; do echo $i ((i = i + 1)) done