From: martin f krafft <madduck@debian.org>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: Clint Adams <schizo@debian.org>,
526924@bugs.debian.org, zsh-workers@sunsite.dk
Subject: Re: Bug#526924: zparseopts: should use lists as values in assoc array
Date: Tue, 5 May 2009 19:28:33 +0200 [thread overview]
Message-ID: <20090505172833.GA6767@piper.oerlikon.madduck.net> (raw)
In-Reply-To: <090505100507.ZM12479@torch.brasslantern.com>
[-- Attachment #1: Type: text/plain, Size: 829 bytes --]
retitle 526924 zparseopts: separate options in
also sprach Bart Schaefer <schaefer@brasslantern.com> [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@d.o> 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 #2: Digital signature (see http://martin-krafft.net/gpg/) --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
prev parent reply other threads:[~2009-05-05 17:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20090504130124.GA13947@piper.oerlikon.madduck.net>
2009-05-05 16:05 ` Clint Adams
2009-05-05 16:36 ` martin f krafft
2009-05-05 17:05 ` Bart Schaefer
2009-05-05 17:28 ` martin f krafft [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090505172833.GA6767@piper.oerlikon.madduck.net \
--to=madduck@debian.org \
--cc=526924@bugs.debian.org \
--cc=schaefer@brasslantern.com \
--cc=schizo@debian.org \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).