A NOTE has been added to this issue. ====================================================================== http://austingroupbugs.net/view.php?id=1211 ====================================================================== Reported By: kre Assigned To: ====================================================================== Project: 1003.1(2016)/Issue7+TC2 Issue ID: 1211 Category: Shell and Utilities Type: Clarification Requested Severity: Objection Priority: normal Status: New Name: Robert Elz Organization: User Reference: Section: XCU 2.14 -- trap special builtin Page Number: 2420 Line Number: 77514 - 77526 Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2018-09-28 02:22 UTC Last Modified: 2018-09-28 10:25 UTC ====================================================================== Summary: "trap" (with no args) specification does not match reality ======================================================================
---------------------------------------------------------------------- (0004135) kre (reporter) - 2018-09-28 10:25 http://austingroupbugs.net/view.php?id=1211#c4135 ---------------------------------------------------------------------- First, what is most important here is that it is recognised that the current wording is inadequate, and promises something that it is unable to deliver. The workaround method that can be used can vary, I'm sure there are many possibilities - your scheme (note 4133) assumes you know in advance what traps are to be altered, which will often be the case, but is not suitable for a general solution. Regardless of that, we need to do something to make it clear that simply using $(trap) is not sufficient in any current shell as a method of restoring what was there before. Issue History Date Modified Username Field Change ====================================================================== 2018-09-28 02:22 kre New Issue 2018-09-28 02:22 kre Name => Robert Elz 2018-09-28 02:22 kre Section => XCU 2.14 -- trap special builtin 2018-09-28 02:22 kre Page Number => 2420 2018-09-28 02:22 kre Line Number => 77514 - 77526 2018-09-28 03:20 kre Tag Attached: tc3-2008 2018-09-28 03:20 kre Tag Attached: issue8 2018-09-28 03:20 kre Tag Detached: tc3-2008 2018-09-28 03:21 kre Tag Detached: issue8 2018-09-28 03:23 kre Note Added: 0004132 2018-09-28 08:44 geoffclare Note Added: 0004133 2018-09-28 08:53 geoffclare Note Added: 0004134 2018-09-28 09:04 geoffclare Note Edited: 0004133 2018-09-28 09:05 geoffclare Note Deleted: 0004134 2018-09-28 10:25 kre Note Added: 0004135 ======================================================================