Package: zsh
Version: 4.3.9-3
Severity: normal

According to the new "set -e" proposal

  http://www.opengroup.org/austin/mailarchives/ag/msg18258.html

zsh -c 'set -e; ! if true; then false; fi; echo $?'

should output 0, i.e. "false" should not make the shell exit, because
it is under a "!" context (even though "!" doesn't apply on the "false"
command directly).

Note that every other shell (bash, ksh93, pdksh, dash, posh) output 0.

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

Kernel: Linux 2.6.26.5-20080922 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages zsh depends on:
ii  libc6                     2.9-5          GNU C Library: Shared libraries
ii  libcap2                   2.16-2         support for getting/setting POSIX.
ii  libncursesw5              5.7+20090228-1 shared libraries for terminal hand

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

Versions of packages zsh suggests:
ii  zsh-doc                       4.3.9-3    zsh documentation - info/HTML form

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to