Re: double "triangle" loop for $* ?
Stephane CHAZELAS wrote:
> 2006-11-1, 00:22(-05), Bill Marcum:
>
>>Some systems have the "seq" command:
>>for x in `seq 1 10`
>
> GNU systems, seq is a GNU only command. And that assumes the
> newline character is in IFS and that no digits are in IFS.
If one fiddles with IFS he should take care that any changed
IFS has just some well defined preferable local scope, take
some precautions to save/restore it, or define it for a single
command only.
Janis
|