A NOTE has been added to this issue. ====================================================================== https://austingroupbugs.net/view.php?id=1384 ====================================================================== Reported By: geoffclare Assigned To: ====================================================================== Project: 1003.1(2016/18)/Issue7+TC2 Issue ID: 1384 Category: Shell and Utilities Type: Omission Severity: Objection Priority: normal Status: New Name: Geoff Clare Organization: The Open Group User Reference: Section: 2.12 Shell Execution Environment Page Number: 2382 Line Number: 76195-76202 Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2020-07-29 09:02 UTC Last Modified: 2021-01-11 16:45 UTC ====================================================================== Summary: Subshell of an interactive shell is effectively non-interactive ====================================================================== Relationships ID Summary ---------------------------------------------------------------------- related to 0001427 2.8.1 does not take into account "... ======================================================================
---------------------------------------------------------------------- (0005198) rhansen (manager) - 2021-01-11 16:45 https://austingroupbugs.net/view.php?id=1384#c5198 ---------------------------------------------------------------------- On page 2382 line 76195 section 2.12 Shell Execution Environment, after applying bug 1247 change:<blockquote>A subshell environment shall be created as a duplicate of the shell environment, except that traps that are not being ignored shall be set to the default action.</blockquote>to:<blockquote>A subshell environment shall be created as a duplicate of the shell environment, except that:<ul><li>Unless specified otherwise (see [xref to trap]), traps that are not being ignored shall be set to the default action.</li><li>If the shell is interactive, the subshell shall behave as a non-interactive shell in all respects except:<ul><li>The expansion of the special parameter '-' and the output of <tt>set -o</tt> and <tt>set +o</tt> shall continue to indicate that it is interactive.</li><li>The <tt>set -n</tt> option may be ignored.</li></ul></ul></blockquote> On page 2411 line 77159 (XCU 2.14 set -n) change:<blockquote>An interactive shell may ignore this option.</blockquote>to:<blockquote>Interactive shells and subshells of interactive shells, recursively, may ignore this option.</blockquote> Issue History Date Modified Username Field Change ====================================================================== 2020-07-29 09:02 geoffclare New Issue 2020-07-29 09:02 geoffclare Name => Geoff Clare 2020-07-29 09:02 geoffclare Organization => The Open Group 2020-07-29 09:02 geoffclare Section => 2.12 Shell Execution Environment 2020-07-29 09:02 geoffclare Page Number => 2382 2020-07-29 09:02 geoffclare Line Number => 76195-76202 2020-07-29 09:02 geoffclare Interp Status => --- 2020-11-02 13:26 dennisw Issue Monitored: dennisw 2020-12-01 16:28 geoffclare Relationship added related to 0001427 2021-01-11 16:45 rhansen Note Added: 0005198 ======================================================================
