[ILUG] shell script question

From: Paul Jakma (paulj at domain itg.ie)
Date: Wed 03 May 2000 - 12:53:52 IST


any easy to expand out a series of numbers in bash?

ie i want to do:

for H in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 etc.. etc.. ; do
..
.
.
done

but something like

for H in 0 to 254 ; do
.
.
.
done

would be much easier. the [..] thing doesnt seem to be evaluated..

any ideas?

--paulj



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:06:00 GMT