Anonymous | Login | 2024-04-25 17:11 UTC |
Main | My View | View Issues | Change Log | Docs |
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 | |||||||
|
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 |
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |