A NOTE has been added to this issue. ====================================================================== http://austingroupbugs.net/view.php?id=1038 ====================================================================== Reported By: kre Assigned To: ====================================================================== Project: 1003.1(2013)/Issue7+TC1 Issue ID: 1038 Category: Shell and Utilities Type: Error Severity: Objection Priority: normal Status: New Name: Robert Elz Organization: User Reference: Section: 2.5.3, 2.6 Page Number: 2352 Line Number: 74952 Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2016-03-24 18:24 UTC Last Modified: 2017-03-16 15:57 UTC ====================================================================== Summary: Specification relies upon unspecified behaviour ====================================================================== Relationships ID Summary ---------------------------------------------------------------------- related to 0001006 PS1 should be subject to command substi... ======================================================================
---------------------------------------------------------------------- (0003616) Don Cragun (manager) - 2017-03-16 15:57 http://austingroupbugs.net/view.php?id=1038#c3616 ---------------------------------------------------------------------- Interpretation response ------------------------ The standard states that "$ " is the default PS1 prompt value and states that the behavior with this default prompt is unspecfied. However, concerns have been raised about this which are being referred to the sponsor. Rationale: ------------- This is not the way traditional and current shells behave and does not accurately describe the way shells should behave. Notes to the Editor (not part of this interpretation): ------------------------------------------------------- On page 2353 line 75012-75019 (2016 edition page and line numbers) XCU section 2.6 (Word Expansions) change: <blockquote>If an unquoted '$' is followed by a character that is not one of the following: [...] the result is unspecified.</blockquote> to: <blockquote>If a '$' that is neither within single-quotes nor escaped by a <backslash> is immediately followed by a character that is not a <space>, not a <tab>, not a <newline>, and is not one of the following: [...] the result is unspecified. If a '$' that is neither within single-quotes nor escaped by a <backslash> is immediately followed by a <space>, <tab>, or a <newline>, the '$' shall be treated as a literal character.</blockquote> Issue History Date Modified Username Field Change ====================================================================== 2016-03-24 18:24 kre New Issue 2016-03-24 18:24 kre Name => Robert Elz 2016-03-24 18:24 kre Section => 2.5.3, 2.6 2016-03-24 18:24 kre Page Number => unknown 2016-03-24 18:24 kre Line Number => unknown 2016-08-11 15:29 Don Cragun Relationship added related to 0001006 2017-03-02 16:22 nick Page Number unknown => 2352 2017-03-02 16:22 nick Line Number unknown => 74952 2017-03-02 16:22 nick Interp Status => --- 2017-03-03 14:42 shware_systems Note Added: 0003589 2017-03-03 15:27 eblake Note Added: 0003590 2017-03-03 15:50 kre Note Added: 0003591 2017-03-03 15:59 joerg Note Added: 0003593 2017-03-03 16:10 geoffclare Note Added: 0003594 2017-03-03 16:41 shware_systems Note Added: 0003595 2017-03-03 16:44 joerg Note Deleted: 0003593 2017-03-03 16:46 chet_ramey Note Added: 0003597 2017-03-03 17:15 Don Cragun Note Added: 0003598 2017-03-03 17:16 Don Cragun Note Edited: 0003598 2017-03-03 18:58 chet_ramey Note Added: 0003599 2017-03-03 19:03 eblake Note Added: 0003600 2017-03-03 19:54 chet_ramey Note Added: 0003601 2017-03-03 19:57 shware_systems Note Added: 0003602 2017-03-03 20:00 shware_systems Note Edited: 0003602 2017-03-03 23:50 kre Note Added: 0003604 2017-03-03 23:52 kre Note Edited: 0003604 2017-03-03 23:55 kre Note Edited: 0003604 2017-03-04 00:37 kre Note Edited: 0003604 2017-03-04 05:19 shware_systems Note Added: 0003605 2017-03-04 07:08 kre Note Added: 0003606 2017-03-04 07:34 kre Note Added: 0003607 2017-03-04 07:36 kre Note Edited: 0003607 2017-03-04 07:37 kre Note Edited: 0003607 2017-03-08 22:49 kre Note Added: 0003613 2017-03-16 15:57 Don Cragun Note Added: 0003616 ======================================================================