Not sure why I never looked this up before, but Bash has 'for' loop ranges: for i in {1..1000} do... Good stuff.
1
Replying to @incanus77
@incanus77 Also has C-style for loops "for ((i=0; $i<=1000; i++)); do ..."

Dec 21, 2010 · 1:04 AM UTC