From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25910 invoked from network); 27 Feb 2008 17:18:02 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 27 Feb 2008 17:18:02 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 23626 invoked from network); 27 Feb 2008 17:17:53 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 27 Feb 2008 17:17:53 -0000 Received: (qmail 5504 invoked by alias); 27 Feb 2008 17:17:49 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24614 Received: (qmail 17073 invoked from network); 27 Feb 2008 16:51:07 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 27 Feb 2008 16:51:07 -0000 Received: from ofb.net (ofb.net [205.217.153.34]) by bifrost.dotsrc.org (Postfix) with ESMTP id 78728802720E for ; Wed, 27 Feb 2008 17:51:00 +0100 (CET) Received: from meh (meh.trinhall.cam.ac.uk [128.232.237.111]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ofb.net (Postfix) with ESMTP id 27EE12070472; Wed, 27 Feb 2008 08:50:58 -0800 (PST) Received: from frederik by meh with local (Exim 4.67) (envelope-from ) id 1JUPUe-00028X-HU; Wed, 27 Feb 2008 16:50:56 +0000 Date: Wed, 27 Feb 2008 16:50:56 +0000 From: Frederik Eaton To: 466655@bugs.debian.org, zsh-workers@sunsite.dk Subject: Re: Bug#466655: the expression {x=(); echo ${+x[(r)blah]}} changes meaning between 4.3.2 and current version Message-ID: <20080227165056.GQ13696@a5.repetae.net> Reply-To: frederik@ofb.net References: <20080220070905.7276.65390.reportbug@localhost.localdomain> <20080227143540.GB8314@scowler.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080227143540.GB8314@scowler.net> User-Agent: mutt-ng/devel-r804 (Debian) Sender: "Frederik Eaton,,," X-Virus-Scanned: ClamAV 0.91.2/6010/Wed Feb 27 13:54:14 2008 on bifrost X-Virus-Status: Clean 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/