From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 599 invoked from network); 5 May 2009 17:29:05 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) 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.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 5 May 2009 17:29:05 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 49019 invoked from network); 5 May 2009 17:28:57 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 5 May 2009 17:28:57 -0000 Received: (qmail 20171 invoked by alias); 5 May 2009 17:28:52 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26932 Received: (qmail 20137 invoked from network); 5 May 2009 17:28:51 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 5 May 2009 17:28:51 -0000 Received: from clegg.madduck.net (clegg.madduck.net [193.242.105.96]) by bifrost.dotsrc.org (Postfix) with ESMTPS id 320E880590A3 for ; Tue, 5 May 2009 19:27:59 +0200 (CEST) Received: from piper.oerlikon.madduck.net (piper.oerlikon.madduck.net [IPv6:2001:41e0:ff12:0:211:2fff:fe6b:c869]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "piper.oerlikon.madduck.net", Issuer "CAcert Class 3 Root" (verified OK)) by clegg.madduck.net (postfix) with ESMTPS id 659DD1D409B; Tue, 5 May 2009 19:28:35 +0200 (CEST) Received: by piper.oerlikon.madduck.net (Postfix, from userid 1000) id 9405EC152F; Tue, 5 May 2009 19:28:33 +0200 (CEST) Date: Tue, 5 May 2009 19:28:33 +0200 From: martin f krafft To: Bart Schaefer Cc: Clint Adams , 526924@bugs.debian.org, zsh-workers@sunsite.dk Subject: Re: Bug#526924: zparseopts: should use lists as values in assoc array Message-ID: <20090505172833.GA6767@piper.oerlikon.madduck.net> References: <20090504130124.GA13947@piper.oerlikon.madduck.net> <20090505160528.GB19068@scru.org> <090505100507.ZM12479@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+HP7ph2BbKc20aGI" Content-Disposition: inline In-Reply-To: <090505100507.ZM12479@torch.brasslantern.com> X-Motto: Keep the good times rollin' X-OS: Debian GNU/Linux squeeze/sid kernel 2.6.30-rc4-amd64 x86_64 Organization: The Debian project User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: ClamAV 0.94.2/9330/Tue May 5 18:18:50 2009 on clegg.madduck.net X-Virus-Scanned: ClamAV 0.92.1/9330/Tue May 5 18:18:50 2009 on bifrost X-Virus-Status: Clean --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable retitle 526924 zparseopts: separate options in=20 also sprach Bart Schaefer [2009.05.05.1905 +020= 0]: > The parameter is set to (-a 1 -a 2), but "print -l $arr" is consuming > the first -a as an option to print. Confirmed. This leaves the question of whether something could be used to separated the values in the case of set -- -a1 -a2; zparseopts -A arr a+:-; print -- $arr[-a] --=20 .''`. martin f. krafft Related projects: : :' : proud Debian developer http://debiansystem.info `. `'` http://people.debian.org/~madduck http://vcs-pkg.org `- Debian - when you have better things to do than fixing systems =20 "sometimes the urge to do bad is nearly overpowering" -- ben horne --+HP7ph2BbKc20aGI Content-Type: application/pgp-signature; name="digital_signature_gpg.asc" Content-Description: Digital signature (see http://martin-krafft.net/gpg/) Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkoAdz4ACgkQIgvIgzMMSnXI9ACgpUpFucYgnw3s9MlAea9in4/P TWUAmwQWN2+l0vqDaidUJfJPeG1iThyR =QydQ -----END PGP SIGNATURE----- --+HP7ph2BbKc20aGI--