Austin Group Defect Tracker

Aardvark Mark IV


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0001099 [1003.1(2016/18)/Issue7+TC2] Shell and Utilities Editorial Error 2016-10-20 17:25 2016-10-27 18:10
Reporter Mark_Galeck View Status public  
Assigned To
Priority normal Resolution Withdrawn  
Status Closed  
Name Mark Galeck
Organization
User Reference
Section 2.10.2 Shell Grammar Rules
Page Number 2379
Line Number 76045-76046
Interp Status ---
Final Accepted Text
Summary 0001099: the wordlist production should accept reserved words but as currently written it does not
Description the production

wordlist: wordlist WORD
        | WORD
        ;

currently does not have a rule in action comments, so rule 1 applies to convert TOKEN to WORD. However, for any reserved word, that reserved word identifier results, not WORD, so any reserved word cannot be in wordlist, as currently written.

This is of course wrong, as this example input shows:

for foobar in if; do:; done

This should be accepted, and existing implementations such as dash and bash do, but according to the current standard, it would be incorrect.
Desired Action Change to:

wordlist: wordlist WORD /* TOKEN always yields WORD here*/
        | WORD /* TOKEN always yields WORD here*/
        ;
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0003462)
Mark_Galeck (reporter)
2016-10-27 12:43

This report is included in the summary report 1100 and can be cancelled.
(0003475)
Don Cragun (manager)
2016-10-27 18:10

Withdrawn by submitter in Note: 0003462

- Issue History
Date Modified Username Field Change
2016-10-20 17:25 Mark_Galeck New Issue
2016-10-20 17:25 Mark_Galeck Name => Mark Galeck
2016-10-20 17:25 Mark_Galeck Section => 2.10.2 Shell Grammar Rules
2016-10-20 17:25 Mark_Galeck Page Number => 2379
2016-10-20 17:25 Mark_Galeck Line Number => 76045-76046
2016-10-27 12:43 Mark_Galeck Note Added: 0003462
2016-10-27 18:10 Don Cragun Interp Status => ---
2016-10-27 18:10 Don Cragun Note Added: 0003475
2016-10-27 18:10 Don Cragun Status New => Closed
2016-10-27 18:10 Don Cragun Resolution Open => Withdrawn


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