Answers for "bash iterate over a variable range of numbers"

0

bash iterate over a variable range of numbers

#!/bin/bash
START=1
END=5
for i in $(eval echo "{$START..$END}")
do
	echo "$i"
done
Posted by: Guest on April-29-2021

Code answers related to "bash iterate over a variable range of numbers"

Browse Popular Code Answers by Language