A NOTE has been added to this issue. ====================================================================== https://www.austingroupbugs.net/view.php?id=1876 ====================================================================== Reported By: calestyo Assigned To: ====================================================================== Project: 1003.1(2024)/Issue8 Issue ID: 1876 Category: Shell and Utilities Type: Clarification Requested Severity: Editorial Priority: normal Status: New Name: Christoph Anton Mitterer Organization: User Reference: Section: 2.15 Special Built-In Utilities Page Number: 2554 Line Number: 83295, ff. Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2024-11-18 23:54 UTC Last Modified: 2024-12-19 21:28 UTC ====================================================================== Summary: clarify, whether a trap action that is executed from a context where set -e is ignored, would have set -e ignored, too ======================================================================
---------------------------------------------------------------------- (0007026) chet_ramey (reporter) - 2024-12-19 21:28 https://www.austingroupbugs.net/view.php?id=1876#c7026 ---------------------------------------------------------------------- It all comes down to `when executing'. It's pretty clear that the trap action is not part of "any command of an AND-OR list other than the last." Is the trap action executed "when executing" the first command in the AND-OR list? There's nothing I've seen so far that would make me change bash's behavior. Issue History Date Modified Username Field Change ====================================================================== 2024-11-18 23:54 calestyo New Issue 2024-11-18 23:54 calestyo Name => Christoph Anton Mitterer 2024-11-18 23:54 calestyo Section => 2.15 Special Built-In Utilities 2024-11-18 23:54 calestyo Page Number => 2554 2024-11-18 23:54 calestyo Line Number => 83295, ff. 2024-11-19 10:45 geoffclare Note Added: 0006962 2024-11-19 15:42 calestyo Note Added: 0006964 2024-11-19 16:13 oguzismailuysalNote Added: 0006965 2024-11-19 16:14 geoffclare Note Added: 0006966 2024-11-19 16:19 geoffclare Note Edited: 0006966 2024-11-23 03:32 calestyo Note Added: 0006969 2024-12-19 21:28 chet_ramey Note Added: 0007026 ======================================================================