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 14:39 UTC ====================================================================== Summary: Which option flags should appear in $- ? ======================================================================
---------------------------------------------------------------------- (0004010) joerg (reporter) - 2018-04-26 14:39 http://austingroupbugs.net/view.php?id=1039#c4010 ---------------------------------------------------------------------- Re: Bugnote:4009 It is a bit more complex: The original Bourne Shell did not include (and still does not) "c" in $- for sh -c. The original Bourne Shell did allow set -r but did not yet support set +x. Later set +o was added and since this was a security problem with the -r flag, some flags (besides "c") have been forbidden with set +-<X>. The forbidden flags today are "sicrp" 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 2018-04-26 12:59 joerg Note Edited: 0004003 2018-04-26 13:06 joerg Note Added: 0004006 2018-04-26 13:58 McDutchie Note Added: 0004007 2018-04-26 13:59 kre Note Added: 0004008 2018-04-26 14:20 kre Note Added: 0004009 2018-04-26 14:34 joerg Note Edited: 0004006 2018-04-26 14:39 joerg Note Added: 0004010 ======================================================================