A NOTE has been added to this issue. ====================================================================== http://austingroupbugs.net/view.php?id=1039 ====================================================================== Reported By: kre Assigned To: ====================================================================== Project: 1003.1(2013)/Issue7+TC1 Issue ID: 1039 Category: Shell and Utilities Type: Clarification Requested Severity: Editorial Priority: normal Status: Interpretation Required Name: Robert Elz Organization: User Reference: Section: 2.5.2 Page Number: 2324 Line Number: 73759-73761 Interp Status: Pending Final Accepted Text: http://austingroupbugs.net/view.php?id=1039#c3617 ====================================================================== Date Submitted: 2016-03-26 07:30 UTC Last Modified: 2018-04-26 12:55 UTC ====================================================================== Summary: Which option flags should appear in $- ? ======================================================================
---------------------------------------------------------------------- (0004005) kre (reporter) - 2018-04-26 12:55 http://austingroupbugs.net/view.php?id=1039#c4005 ---------------------------------------------------------------------- Re note 4003. Joerg, there is no conflict. -i is an option to sh (see the utilities page for sh) note "or implicitly by the shell" in the text you quoted. If the shell implictly sets the 'i' flag (because it is started in a way that meets the requirements of being interactive) so should always have been included in $- It was just that most shells concentrated only on the flags defined to be able to be used with the "set" builtin, and not necessarily on those which are only relevant on the command line. It was to clarify that that the original bug report was submitted. If your sh doesn't set 'i' - fix it. It was always broken. Issue History Date Modified Username Field Change ====================================================================== 2016-03-26 07:30 kre New Issue 2016-03-26 07:30 kre Name => Robert Elz 2016-03-26 07:30 kre Section => 2.5.2 2016-03-26 07:30 kre Page Number => unknown 2016-03-26 07:30 kre Line Number => unknown 2016-03-26 08:12 Don Cragun Page Number unknown => 2324 2016-03-26 08:12 Don Cragun Line Number unknown => 73759-73761 2016-03-26 08:12 Don Cragun Interp Status => --- 2017-03-16 16:22 geoffclare Note Added: 0003617 2017-03-16 16:23 geoffclare Interp Status --- => Pending 2017-03-16 16:23 geoffclare Final Accepted Text => http://austingroupbugs.net/view.php?id=1039#c3617 2017-03-16 16:23 geoffclare Status New => Interpretation Required 2017-03-16 16:23 geoffclare Resolution Open => Accepted As Marked 2017-03-16 16:23 geoffclare Tag Attached: tc3-2008 2017-03-16 17:16 kre Note Added: 0003618 2017-03-16 17:31 joerg Note Added: 0003619 2017-03-16 17:38 joerg Note Edited: 0003619 2017-03-16 18:07 kre Note Added: 0003620 2017-03-17 09:09 geoffclare Note Added: 0003622 2017-03-17 10:46 kre Note Added: 0003624 2017-03-17 10:54 joerg Note Added: 0003625 2017-03-17 12:07 kre Note Added: 0003630 2017-03-17 12:51 joerg Note Added: 0003634 2017-03-17 13:05 kre Note Added: 0003636 2018-04-26 11:44 McDutchie Note Added: 0004002 2018-04-26 12:12 joerg Note Added: 0004003 2018-04-26 12:23 joerg Note Edited: 0004003 2018-04-26 12:47 kre Note Added: 0004004 2018-04-26 12:55 kre Note Added: 0004005 ======================================================================