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
0001090 [1003.1(2016/18)/Issue7+TC2] Shell and Utilities Editorial Error 2016-10-18 11:40 2016-10-18 15:34
Reporter Mark_Galeck View Status public  
Assigned To
Priority normal Resolution Withdrawn  
Status Closed  
Name Mark Galeck
Organization
User Reference
Section 2.9.4 Compound Commands
Page Number 2372
Line Number 75786-75787
Interp Status ---
Final Accepted Text
Summary 0001090: "tilde expansion, parameter expansion, command substitution, and arithmetic expansion" is incorrect
Description "pattern (..) shall be subjected to tilde expansion, parameter expansion, command substitution, and
arithmetic expansion"

is incorrect - quote removal also applies. In fact the whole thing is simply "WORD expansion" and should be stated as such.
Desired Action Replace "tilde expansion, parameter expansion, command substitution, and
arithmetic expansion" with "WORD expansion"
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0003422)
geoffclare (manager)
2016-10-18 15:06

No, quote removal is not performed. If it was, then:

case $foo in
"*") ... ;;
esac

would be the same as:

case $foo in
*) ... ;;
esac

The handling of quotes in the pattern is covered in 2.13, as per the subsequent text: "shall be compared against the expansion of word, according to the rules described in Section 2.13 (which also describes the effect of quoting parts of the pattern)."

Also, field splitting is not performed.
(0003424)
Mark_Galeck (reporter)
2016-10-18 15:21

OK I see your point, thank you (and field splitting is as per the last report). Second bogus report (maybe I should stop writing them at night :) )

Is there a way to nuke a bogus report?
(0003427)
geoffclare (manager)
2016-10-18 15:34

Closing as withdrawn, as requested in Note: 0003424

- Issue History
Date Modified Username Field Change
2016-10-18 11:40 Mark_Galeck New Issue
2016-10-18 11:40 Mark_Galeck Name => Mark Galeck
2016-10-18 11:40 Mark_Galeck Section => 2.9.4 Compound Commands
2016-10-18 11:40 Mark_Galeck Page Number => 2372
2016-10-18 11:40 Mark_Galeck Line Number => 75786-75787
2016-10-18 15:06 geoffclare Note Added: 0003422
2016-10-18 15:21 Mark_Galeck Note Added: 0003424
2016-10-18 15:34 geoffclare Interp Status => ---
2016-10-18 15:34 geoffclare Note Added: 0003427
2016-10-18 15:34 geoffclare Status New => Closed
2016-10-18 15:34 geoffclare Resolution Open => Withdrawn


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