Austin Group Defect Tracker

Aardvark Mark III


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
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
Reporter geoffclare View Status public  
Assigned To
Priority normal Resolution Open  
Status New  
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 No tags attached.
Attached Files

- Relationships

-  Notes
(0004202)
shware_systems (reporter)
2019-01-10 15:55

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


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker