|Anonymous | Login||2019-02-17 12:28 UTC|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details|
|ID||Category||Severity||Type||Date Submitted||Last Update|
|0001224||[1003.1(2016)/Issue7+TC2] Shell and Utilities||Editorial||Error||2019-01-09 15:37||2019-01-10 15:55|
|Organization||The Open Group|
|Final Accepted Text|
|Summary||0001224: Conflict between 2.9.1 and 2.10.2 re simple command terminator|
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
|Desired Action||Delete ", terminated by a control operator".|
|Tags||No tags attached.|
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.
|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|
|Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group|