Your message dated Tue, 5 May 2009 18:29:15 +0200
with message-id <[email protected]>
and subject line Re: Bug#526925: zparseopts: '+' option is being ignored with 
normal arrays
has caused the Debian Bug report #526925,
regarding zparseopts: '+' option is being ignored with normal arrays
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
526925: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526925
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: zsh-beta
Version: 4.3.9-dev-3+20090425-1
Severity: wishlist

piper:~|master|% set -- -a1 -a2; zparseopts a+:=arr; echo $arr
2

The + option is supposed to ensure that all occurrences get appended
to the array, not just the last one. Apparently, the same problems
occurs when a global array is used:

piper:~|master|% set -- -a1 -a2; zparseopts -a arr a+:; echo $arr
2

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages zsh-beta depends on:
ii  libc6                     2.9-8          GNU C Library: Shared libraries
ii  libcap2                   1:2.16-5       support for getting/setting POSIX.
ii  libncursesw5              5.7+20090411-1 shared libraries for terminal hand
ii  passwd                    1:4.1.3.1-1    change and administer password and

Versions of packages zsh-beta recommends:
ii  libc6                         2.9-8      GNU C Library: Shared libraries
ii  libpcre3                      7.8-2      Perl 5 Compatible Regular Expressi

Versions of packages zsh-beta suggests:
pn  zsh-beta-doc                  <none>     (no description available)

-- no debconf information

-- 
 .''`.   martin f. krafft <[email protected]>      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

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)


--- End Message ---
--- Begin Message ---
also sprach Clint Adams <[email protected]> [2009.05.05.1809 +0200]:
> Oddly, here I get
> 
> -a 1 -a 2
> 
> and the last issue was only because I forgot to use a -- after print -l.

Like the other bug, it's probable that I had polluted my shell. This
works as expected now. Sorry, Clint.

-- 
 .''`.   martin f. krafft <[email protected]>      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

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)


--- End Message ---

Reply via email to