Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug#526924: zparseopts: should use lists as values in assoc array



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