bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: feature request


From: Eric Blake
Subject: Re: feature request
Date: Thu, 01 Jun 2006 06:28:49 -0600
User-agent: Thunderbird 1.5.0.2 (Windows/20060308)

-----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             address@hidden
-----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-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]