Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#526924: zparseopts: should use lists as values in assoc array
- X-seq: zsh-workers 26932
- From: martin f krafft <madduck@xxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Bug#526924: zparseopts: should use lists as values in assoc array
- Date: Tue, 5 May 2009 19:28:33 +0200
- Cc: Clint Adams <schizo@xxxxxxxxxx>, 526924@xxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxx
- In-reply-to: <090505100507.ZM12479@xxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: The Debian project
- References: <20090504130124.GA13947@xxxxxxxxxxxxxxxxxxxxxxxxxx> <20090505160528.GB19068@xxxxxxxx> <090505100507.ZM12479@xxxxxxxxxxxxxxxxxxxxxx>
retitle 526924 zparseopts: separate options in
also sprach Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> [2009.05.05.1905 +0200]:
> 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]
--
.''`. martin f. krafft <madduck@xxx> 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
"sometimes the urge to do bad is nearly overpowering"
-- ben horne
Attachment:
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author