retitle 526924 zparseopts: separate options in also sprach Bart Schaefer [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 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