From: Bart Schaefer <schaefer@brasslantern.com>
To: Clint Adams <schizo@debian.org>,
martin f krafft <madduck@debian.org>,
526924@bugs.debian.org
Cc: zsh-workers@sunsite.dk
Subject: Re: Bug#526924: zparseopts: should use lists as values in assoc array
Date: Tue, 05 May 2009 10:05:06 -0700 [thread overview]
Message-ID: <090505100507.ZM12479@torch.brasslantern.com> (raw)
In-Reply-To: <20090505160528.GB19068@scru.org>
On May 5, 4:05pm, Clint Adams wrote:
}
} set -- -a1 -a2; zparseopts 'a+:=arr'; print -l $arr
}
} although this seems to set arr=(1 -a 2), which is not what I
} expected to happen.
The parameter is set to (-a 1 -a 2), but "print -l $arr" is consuming
the first -a as an option to print.
next prev parent reply other threads:[~2009-05-05 17:05 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 [this message]
2009-05-05 17:28 ` martin f krafft
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=090505100507.ZM12479@torch.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=526924@bugs.debian.org \
--cc=madduck@debian.org \
--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).