View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001224 | 1003.1(2016/18)/Issue7+TC2 | Shell and Utilities | public | 2019-01-09 15:37 | 2024-06-11 09:08 |
Reporter | geoffclare | Assigned To | |||
Priority | normal | Severity | Editorial | Type | Error |
Status | Closed | Resolution | Accepted | ||
Name | Geoff Clare | ||||
Organization | The Open Group | ||||
User Reference | |||||
Section | 2.9.1 | ||||
Page Number | 2365 | ||||
Line Number | 75483 | ||||
Interp Status | --- | ||||
Final Accepted Text | |||||
Summary | 0001224: Conflict between 2.9.1 and 2.10.2 re simple command terminator | ||||
Description | Section 2.9.1 says: A ``simple command'' is a sequence of optional variable assignments and redirections, in any sequence, optionally followed by words and redirections, terminated by a control operator. This suggests that a simple command includes the terminating control operator (in the same way that a line includes the terminating <newline>), but this conflicts with the grammar in 2.10.2 where the simple_command production does not include the terminator. Since the grammar has precedence over the text syntax description, the erroneous text "terminated by a control operator" can be removed from 2.9.1 as an editorial change without affecting the requirements of the standard. | ||||
Desired Action | Delete ", terminated by a control operator". | ||||
Tags | tc3-2008 |
|
I agree this may be a source of confusion. The control operator, or end-of-line/file/string as a "pseudo-operator", is still required by the grammar, though; it's just not in the same production. I think "... words and redirections. The control operator or end of line that determines the end of the command is not considered part of the commands' tokens." shows the intent of the grammar more explicitly. |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-01-09 15:37 | geoffclare | New Issue | |
2019-01-09 15:37 | geoffclare | Name | => Geoff Clare |
2019-01-09 15:37 | geoffclare | Organization | => The Open Group |
2019-01-09 15:37 | geoffclare | Section | => 2.9.1 |
2019-01-09 15:37 | geoffclare | Page Number | => 2365 |
2019-01-09 15:37 | geoffclare | Line Number | => 75483 |
2019-01-09 15:37 | geoffclare | Interp Status | => --- |
2019-01-10 15:55 | shware_systems | Note Added: 0004202 | |
2019-04-29 15:52 | nick | Status | New => Resolved |
2019-04-29 15:52 | nick | Resolution | Open => Accepted |
2019-04-29 15:53 | nick | Tag Attached: tc3-2008 | |
2019-11-14 14:22 | geoffclare | Status | Resolved => Applied |
2024-06-11 09:08 | agadmin | Status | Applied => Closed |