Package: bash
Version: 3.2-4
Severity: normal

An example from the austin group mailing-list, that fails with bash
when it is run as "bash" (not as "sh"):

vin% bash -c 'set -e ; z=$(false;echo foo) ; echo $z'
foo
vin%

I don't see why this non-standard behavior would be wanted.
So, I suppose this is a bug.

ksh93, pdksh, posh and zsh all output nothing.

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (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 bash depends on:
ii  base-files                5              Debian base system miscellaneous f
ii  debianutils               2.31           Miscellaneous utilities specific t
ii  libc6                     2.7-18         GNU C Library: Shared libraries
ii  libncurses5               5.7+20090124-1 shared libraries for terminal hand

Versions of packages bash recommends:
ii  bash-completion               20080705   programmable completion for the ba

Versions of packages bash suggests:
ii  bash-doc                      3.2-4      Documentation and examples for the

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to