Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: PATCH: 3.1.9-dev-8: Re: Word splitting in zsh
- X-seq: zsh-workers 13454
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: <zsh-workers@xxxxxxxxxx>
- Subject: RE: PATCH: 3.1.9-dev-8: Re: Word splitting in zsh
- Date: Mon, 12 Feb 2001 17:12:32 +0300
- Importance: Normal
- In-reply-to: <000901c094c6$d2bcd500$21c9ca95@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
> >
>
> Is the following a bug in shell and should zsh emulate it?
>
And is this a bug or feature in zsh (with Bart's patch):
bor@itsrm2% baz=("aa bb" cc)
bor@itsrm2% print -l "${(A)foo=$baz[@]}"
aa bb
cc
Again the same problem for ${name=word} - should the whole evaluate to the
$name (with proper quoting) or to the word? I believe it is a bug because next
command where foo is already defined:
bor@itsrm2% print -l "${(A)foo=$baz[@]}"
aa bb cc
both cases should evaluate to the value of $foo, if I read specs properly, and
be identical, i.e. as in the second case.
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author