From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18074 invoked from network); 27 Feb 2008 14:35:58 -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=AWL,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 14:35:58 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 26330 invoked from network); 27 Feb 2008 14:35:50 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 27 Feb 2008 14:35:50 -0000 Received: (qmail 5760 invoked by alias); 27 Feb 2008 14:35:46 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24610 Received: (qmail 5744 invoked from network); 27 Feb 2008 14:35:46 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 27 Feb 2008 14:35:46 -0000 Received: from acolyte.scowler.net (acolyte.scowler.net [216.254.112.45]) by bifrost.dotsrc.org (Postfix) with ESMTP id F1E748026E0B for ; Wed, 27 Feb 2008 15:35:42 +0100 (CET) Received: by acolyte.scowler.net (Postfix, from userid 1000) id 621995C1A4; Wed, 27 Feb 2008 09:35:40 -0500 (EST) Date: Wed, 27 Feb 2008 09:35:40 -0500 From: Clint Adams To: Frederik Eaton , 466655@bugs.debian.org Cc: 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: <20080227143540.GB8314@scowler.net> Mail-Followup-To: Frederik Eaton , 466655@bugs.debian.org, zsh-workers@sunsite.dk References: <20080220070905.7276.65390.reportbug@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080220070905.7276.65390.reportbug@localhost.localdomain> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Virus-Scanned: ClamAV 0.91.2/6010/Wed Feb 27 13:54:14 2008 on bifrost X-Virus-Status: Clean 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