22 Nov
2005
22 Nov
'05
15:26
On Tuesday 22 November 2005 17:22, Randall R Schulz wrote:
Daniel, Ti,
On Tuesday 22 November 2005 04:35, Ti Kan wrote:
...
but i cant figure out how can i pass the paramaters one by one to the test fields.
for i in $* do echo $i done
Better, and in accord with a quoting discipline that should be used by all script writers, is this:
for i in "$@"; do echo "$i" done
And it's also a very good idea to use a loop variable name that means _something_.
i = index, plenty of meaning :-) -Stathis
...
Randall Schulz