Your message dated Fri, 03 Apr 2009 16:47:11 +0000
with message-id <[email protected]>
and subject line Bug#514858: fixed in posh 0.6.18
has caused the Debian Bug report #514858,
regarding posh -c 'set -e; ! true; echo OK' fails
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.)


-- 
514858: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=514858
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: posh
Version: 0.6.15
Severity: normal

The command

  posh -c 'set -e; ! true; echo OK'

fails to output OK, thus does not conform to POSIX:

   -e When this option is on, if a simple command fails for any of the
      reasons listed in Section 2.8.1 (on page 2315) or returns an exit
      status value >0, and is not part of the compound list following a
      while, until, or if keyword, and is not a part of an AND or OR
      list, and is not a pipeline preceded by the ! reserved word, then
      the shell shall immediately exit.

bash, dash and ksh93 are correct (but not pdksh, posh and zsh).

There's currently a discussion about "set -e" in the austin group
mailing-list, but there does not seem to be any ambiguity on the
above point, as only "! true" returns an exit status value >0 but
this is not a simple command. And concerning historical behavior,
both ksh93 and bash output OK. So, I think that pdksh, posh and
zsh should follow.

Also the bug seems to be already accepted for pdksh:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=387755

-- 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 posh depends on:
ii  debconf [debconf-2.0]         1.5.24     Debian configuration management sy
ii  libc6                         2.7-18     GNU C Library: Shared libraries

posh recommends no packages.

posh suggests no packages.

-- debconf information:
  posh/sh: false



--- End Message ---
--- Begin Message ---
Source: posh
Source-Version: 0.6.18

We believe that the bug you reported is fixed in the latest version of
posh, which is due to be installed in the Debian FTP archive:

posh_0.6.18.dsc
  to pool/main/p/posh/posh_0.6.18.dsc
posh_0.6.18.tar.gz
  to pool/main/p/posh/posh_0.6.18.tar.gz
posh_0.6.18_amd64.deb
  to pool/main/p/posh/posh_0.6.18_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Clint Adams <[email protected]> (supplier of updated posh package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 03 Apr 2009 12:23:31 -0400
Source: posh
Binary: posh
Architecture: source amd64
Version: 0.6.18
Distribution: unstable
Urgency: medium
Maintainer: Clint Adams <[email protected]>
Changed-By: Clint Adams <[email protected]>
Description: 
 posh       - Policy-compliant Ordinary SHell
Closes: 514858
Changes: 
 posh (0.6.18) unstable; urgency=medium
 .
   * Adjust stderr-pattern on utilities-8 test.
   * Even if set -e is set, do not exit on negated commands, and add a
     regression test for this.  closes: #514858.
   * Bump to Standards-Version 3.8.1.
Checksums-Sha1: 
 9e9b358634ed517f796ac97393f9d744794ccf8f 830 posh_0.6.18.dsc
 0f16a35f5778b31d7d3c3ba8882a7f23e353f1dd 494313 posh_0.6.18.tar.gz
 1a80c754ece395c27f84f7195613e5b870e227e5 93202 posh_0.6.18_amd64.deb
Checksums-Sha256: 
 1afc47cd430b3f55aa9c860acd5e674dbf56ab611362b6219cc3d1a906f60172 830 
posh_0.6.18.dsc
 16e65f532c4312eeaea6ae9f686be17b8a1981811f65b601b6711425e785758b 494313 
posh_0.6.18.tar.gz
 65b61a2d7ef2a75c7046b3917d661b7071bfe3899740ca7631e63faee7c171c9 93202 
posh_0.6.18_amd64.deb
Files: 
 e39daf35c9875d4877f54f468a343b0b 830 shells optional posh_0.6.18.dsc
 5ef7e0d60b444301c9e188ff7873a2aa 494313 shells optional posh_0.6.18.tar.gz
 de76c6a218e45e3b57dc773947ed90c7 93202 shells optional posh_0.6.18_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Debian!

iD8DBQFJ1jtJ5m0u66uWM3ARAkZhAJ4/g+/Z8nBKdWFDoX/j/dogeJdOqgCcCYDf
Ymvout/lSz+5xSwN3g7Pejo=
=lrCL
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to