Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#466655: the expression {x=(); echo ${+x[(r)blah]}} changes meaning between 4.3.2 and current version
- X-seq: zsh-workers 24610
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: Frederik Eaton <frederik@xxxxxxx>, 466655@xxxxxxxxxxxxxxx
- Subject: Re: Bug#466655: the expression {x=(); echo ${+x[(r)blah]}} changes meaning between 4.3.2 and current version
- Date: Wed, 27 Feb 2008 09:35:40 -0500
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <20080220070905.7276.65390.reportbug@xxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: Frederik Eaton <frederik@xxxxxxx>, 466655@xxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20080220070905.7276.65390.reportbug@xxxxxxxxxxxxxxxxxxxxx>
On Wed, Feb 20, 2008 at 07:09:05AM +0000, Frederik Eaton wrote:
> Hello, one of my scripts has broken because of the following change:
>
> $ zsh --version
> zsh 4.3.2 (i686-pc-linux-gnu)
> $ x=(); echo ${+x[(r)blah]}
> 0
>
> $ zsh --version
> zsh 4.3.5 (i686-pc-linux-gnu)
> $ x=(); echo ${+x[(r)blah]}
> 1
>
> Is the behaviour of zsh's parameter expansion supposed to be stable?
I think this is related to 23273*
* http://www.zsh.org/mla/workers/2007/msg00194.html
Messages sorted by:
Reverse Date,
Date,
Thread,
Author