Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: 4.1: multi-parameter for loop
- X-seq: zsh-workers 15006
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Andrej Borsenkow <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- Subject: Re: PATCH: 4.1: multi-parameter for loop
- Date: Wed, 20 Jun 2001 18:20:39 +0000
- Cc: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- In-reply-to: <Pine.SV4.4.33.0106202158430.26619-100000@xxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <Pine.SV4.4.33.0106202158430.26619-100000@xxxxxxxxxxxxxxxxxxxxx>
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