Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: 4.1: multi-parameter for loop
- X-seq: zsh-workers 15048
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Zefram <zefram@xxxxxxxx>, zsh-workers@xxxxxxxxxx
- Subject: Re: PATCH: 4.1: multi-parameter for loop
- Date: Fri, 22 Jun 2001 17:04:09 -0700
- In-reply-to: <E15Dag2-0001S3-00@xxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <E15Dag2-0001S3-00@xxxxxxxxxxxxx>
On Jun 23, 12:49am, Zefram wrote:
> Subject: Re: PATCH: 4.1: multi-parameter for loop
> Bart Schaefer wrote:
> > clearly a parameter named "in" can only appear in the first
> >position,
>
> for out 'in' in a b c d; do ...
That requires even more changes to the parser ...
bash$ for 'in' in a b c d; do break; done
bash: `'in'' is not a valid identifier
zsh% for 'in' in a b c d; do break; done
zsh: parse error near `'in''
I.e. you can't use a quoted string as the NAME in `for NAME in WORD'.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author