Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: 4.1: multi-parameter for loop



On Jun 20, 10:01pm, Andrej Borsenkow wrote:
} Subject: Re: PATCH: 4.1: multi-parameter for loop
}
} On Wed, 20 Jun 2001, Peter Stephenson wrote:
} 
} > This extends the for syntax to take multiple parameters after it
} 
} This for sure is incompatible with POSIX and all known shells. It
} does not make legal scripts fail, but it makes illegal scripts legal.
} Should we care about it?

In general we've taken the position that this is OK.  Consider the
"foreach" form, or "if [[ test ]] { command }", etc.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author