help-bash
[Top][All Lists]
Advanced

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

Re: surprising condition value in TRAP in 5.1


From: Chet Ramey
Subject: Re: surprising condition value in TRAP in 5.1
Date: Thu, 4 Aug 2022 11:09:39 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

On 8/4/22 10:56 AM, Robert E. Griffith wrote:
OK, that makes sense. So was that actually a bug in 5.0 (that my code worked) that was fixed in 5.1?  Do you know what changed.

That subshells erase knowledge they were running a trap.


--
``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/



reply via email to

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