Re: [PATCH] consistent BASH_COMMAND, DEBUG trap, xtrace order
From:
Chet Ramey
Subject:
Re: [PATCH] consistent BASH_COMMAND, DEBUG trap, xtrace order
Date:
Mon, 28 Aug 2023 10:38:43 -0400
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.14.0
On 8/25/23 10:40 PM, Grisha Levit wrote:
There is some inconsistency betweeen various command types in the order of
(1) setting the value used for BASH_COMMAND (2) running the DEBUG trap and
checking its return value and (3) printing the PS4 string.
Thanks for the report and patch.
--
``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/