How can I iterate through a simple range of ints using a for loop in ksh?
For example, my script currently does this...
for i in 1 2 3 4 5 6 7 do
seq - but only available on linux.
for i in `seq 1 10` do echo $i done
there are other options for seq. But the other solutions are very nice and more important, portable. Thx