A NOTE has been added to this issue. ====================================================================== http://austingroupbugs.net/view.php?id=1006 ====================================================================== Reported By: rhansen Assigned To: ====================================================================== Project: 1003.1(2013)/Issue7+TC1 Issue ID: 1006 Category: Shell and Utilities Type: Omission Severity: Editorial Priority: normal Status: Interpretation Required Name: Richard Hansen Organization: BBN User Reference: Section: 2.5.3 PS1 Page Number: 2326 Line Number: 73833 Interp Status: Pending Final Accepted Text: http://austingroupbugs.net/view.php?id=1006#c3310 ====================================================================== Date Submitted: 2015-11-13 08:23 UTC Last Modified: 2016-08-11 16:48 UTC ====================================================================== Summary: PS1 should be subject to command substitution and arithmetic expansion ====================================================================== Relationships ID Summary ---------------------------------------------------------------------- related to 0001038 Specification relies upon unspecified b... ======================================================================
---------------------------------------------------------------------- (0003340) kre (reporter) - 2016-08-11 16:48 http://austingroupbugs.net/view.php?id=1006#c3340 ---------------------------------------------------------------------- wrt note 3336: This bug report and 0001038 touch the same text, Actually, no, they don't. The text here (and/or that which it is replacing) provides the motivation that requires 1038 to be fixed, but the fix for 1038 will go elsewhere, I hope. but they are logically independent that was my point. They are not. In the text in note 3310 (the resolution) the default value of PS1 is stated to be "$ " (which is obviously what it should be) and that it is subject to parameter expansion. As soon as you specify that, you're specifying undefined behaviour, as a space after a '$' is explicitly unspecified (see section 2.6) That is, given the required default value of PS1 and its required processing, the shell is permitted to do anything at all. You cannot seriously mean that? We will get to 0001038 eventually; I'm sure you will, and that's fine - but until that is resolved, you cannot in good conscience decide to incorporate this text. After all, when 1038 is discussed. the resolution may be that a space after a '$' should remain unspecified, and that it should not be used in any conforming application. That would mean that PS1="$ " would be both non-conforming, and required. All that is required is for this issue be suspended until after 1038 is dealt with, after which what should be in this text can be determined (and most likely, I hope, what is there now will be fine ... aside from that ! nonsense, which is a different issue entirely.) Issue History Date Modified Username Field Change ====================================================================== 2015-11-13 08:23 rhansen New Issue 2015-11-13 08:23 rhansen Name => Richard Hansen 2015-11-13 08:23 rhansen Organization => BBN 2015-11-13 08:23 rhansen Section => 2.5.3 PS1 2015-11-13 08:23 rhansen Page Number => 2326 2015-11-13 08:23 rhansen Line Number => 73833 2015-11-13 08:23 rhansen Interp Status => --- 2015-11-13 10:34 joerg Note Added: 0002906 2015-11-13 13:51 kre Note Added: 0002907 2015-11-13 15:44 random832 Note Added: 0002909 2015-11-13 16:04 random832 Note Edited: 0002909 2015-11-13 16:11 geoffclare Note Added: 0002911 2015-11-13 16:33 shware_systems Note Added: 0002913 2015-11-13 16:36 random832 Note Added: 0002914 2015-11-13 16:40 random832 Note Edited: 0002914 2015-11-13 16:47 random832 Note Edited: 0002914 2015-11-13 16:49 random832 Note Edited: 0002914 2015-11-13 16:49 random832 Note Edited: 0002914 2015-11-13 18:21 kre Note Added: 0002918 2015-11-13 18:29 kre Note Added: 0002919 2015-11-13 18:31 random832 Note Added: 0002920 2015-11-14 01:39 rhansen Note Added: 0002932 2015-11-14 01:40 rhansen Note Added: 0002933 2015-11-14 01:41 rhansen Note Edited: 0002933 2015-11-14 01:44 rhansen Note Edited: 0002933 2015-11-14 01:50 rhansen Note Added: 0002934 2015-11-14 10:06 geoffclare Note Added: 0002939 2015-11-14 13:43 kre Note Added: 0002940 2015-11-14 13:49 kre Note Edited: 0002940 2015-11-14 14:01 random832 Note Added: 0002941 2015-11-14 17:26 shware_systems Note Added: 0002944 2015-11-14 17:27 shware_systems Note Edited: 0002944 2015-11-14 21:03 random832 Note Added: 0002945 2015-11-14 21:04 random832 Note Edited: 0002945 2015-11-15 03:26 rhansen Note Added: 0002946 2015-11-15 03:43 rhansen Note Edited: 0002946 2015-11-15 04:22 rhansen Note Added: 0002947 2015-11-15 07:28 kre Note Added: 0002948 2015-11-15 07:55 kre Note Edited: 0002940 2015-11-15 09:14 kre Note Added: 0002949 2015-11-15 09:25 kre Note Edited: 0002949 2015-11-15 09:27 kre Note Edited: 0002949 2015-11-15 09:31 kre Note Edited: 0002949 2015-11-15 10:44 random832 Note Added: 0002950 2015-11-16 09:38 geoffclare Note Added: 0002952 2015-11-16 11:22 joerg Note Added: 0002953 2015-11-16 11:34 joerg Note Added: 0002954 2015-11-16 13:41 joerg Note Added: 0002955 2015-11-16 13:54 random832 Note Added: 0002956 2015-11-16 14:01 joerg Note Added: 0002957 2015-11-16 14:15 random832 Note Added: 0002958 2015-11-16 14:20 joerg Note Added: 0002959 2015-11-16 14:28 random832 Note Added: 0002960 2015-11-16 14:45 joerg Note Added: 0002961 2015-11-16 14:46 joerg Note Edited: 0002961 2015-11-16 15:06 random832 Note Added: 0002962 2015-11-16 15:11 joerg Note Added: 0002963 2015-11-16 15:14 joerg Note Edited: 0002963 2015-11-16 15:15 joerg Note Edited: 0002963 2015-11-16 15:16 joerg Note Edited: 0002963 2015-11-16 15:18 random832 Note Added: 0002964 2015-11-17 21:07 shware_systems Note Added: 0002967 2016-01-13 22:03 mirabilos Note Added: 0003023 2016-01-22 16:42 kre Note Added: 0003031 2016-07-28 15:57 geoffclare Note Added: 0003310 2016-07-28 15:58 geoffclare Interp Status --- => Pending 2016-07-28 15:58 geoffclare Final Accepted Text => http://austingroupbugs.net/view.php?id=1006#c3310 2016-07-28 15:58 geoffclare Status New => Interpretation Required 2016-07-28 15:58 geoffclare Resolution Open => Accepted As Marked 2016-07-28 15:58 geoffclare Tag Attached: tc3-2008 2016-07-28 15:59 geoffclare Note Edited: 0003310 2016-08-06 12:41 kre Note Added: 0003328 2016-08-11 15:29 Don Cragun Relationship added related to 0001038 2016-08-11 16:08 geoffclare Note Edited: 0003310 2016-08-11 16:10 rhansen Note Added: 0003336 2016-08-11 16:11 rhansen Note Edited: 0003336 2016-08-11 16:13 geoffclare Note Added: 0003337 2016-08-11 16:38 rhansen Note Added: 0003338 2016-08-11 16:42 rhansen Note Edited: 0003310 2016-08-11 16:45 rhansen Note Added: 0003339 2016-08-11 16:48 kre Note Added: 0003340 ======================================================================