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



Hello Clint,

Thanks for the reply, are you suggesting that 23273 fixed a previous
bug or introduced a new bug?

Frederik

On Wed, Feb 27, 2008 at 09:35:40AM -0500, Clint Adams wrote:
> 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
> 

-- 
http://ofb.net/~frederik/



Messages sorted by: Reverse Date, Date, Thread, Author