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    c...@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to