Re: issues in bash found while creating command result display
From:
Chet Ramey
Subject:
Re: issues in bash found while creating command result display
Date:
Tue, 16 Apr 2019 09:53:57 -0400
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
On 4/15/19 10:29 PM, Paul Wise wrote:
> I wonder if bash could set an additional variable to indicate if $? is
> from a normal exit, a signal exit, a shell keystroke etc, as well as a
> corresponding equivalent array that is about PIPESTATUS.
That falls apart fairly quickly for anything but the common case.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
signature.asc Description: OpenPGP digital signature