View Issue Details

IDProjectCategoryView StatusLast Update
00012241003.1(2016/18)/Issue7+TC2Shell and Utilitiespublic2024-06-11 09:08
Reportergeoffclare Assigned To 
PrioritynormalSeverityEditorialTypeError
Status ClosedResolutionAccepted 
NameGeoff Clare
OrganizationThe Open Group
User Reference
Section2.9.1
Page Number2365
Line Number75483
Interp Status---
Final Accepted Text
Summary0001224: Conflict between 2.9.1 and 2.10.2 re simple command terminator
DescriptionSection 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 ActionDelete ", terminated by a control operator".
Tagstc3-2008

Activities

shware_systems

2019-01-10 15:55

reporter   bugnote:0004202

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.

Issue History

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