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



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