In a shell script, is the a better (i.e.: more elegant) way to get a variable to cycle from 1 to another value (such as 100)
Currently I am using:
$ I=1 ; while [ "$I" -le "10" ]; do echo $I ; I=`expr $I + 1`; done
- Doug
-- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
