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

According to A P Garcia on 5/31/2006 3:49 PM:
> 
> Bash Version: 2.05b
> Patch Level: 0

You may want to consider upgrading; bash is at 3.1 patch level 17.

> Description:
> It would be very useful to have a shell option that displays the exit
> code of each command when it terminates.

Bash already has this, in the prompt.  For example, I use:

PS1='${PIPESTATUS[*]}\$ '

At which point I see the exit status of every command in the previous
pipeline.

- --
Life is short - so eat dessert first!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEft2B84KuGfSFAYARAi5NAKC1wLkjMWxOVGbuf29SvyJ3x/58CgCeKoW1
mslIv3JizGY9W3jrXtiFVoY=
=115R
-----END PGP SIGNATURE-----


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to