View Issue Details

IDProjectCategoryView StatusLast Update
00010901003.1(2016/18)/Issue7+TC2Shell and Utilitiespublic2016-10-18 15:34
ReporterMark_Galeck Assigned To 
PrioritynormalSeverityEditorialTypeError
Status ClosedResolutionWithdrawn 
NameMark Galeck
Organization
User Reference
Section2.9.4 Compound Commands
Page Number2372
Line Number75786-75787
Interp Status---
Final Accepted Text
Summary0001090: "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 ActionReplace "tilde expansion, parameter expansion, command substitution, and
arithmetic expansion" with "WORD expansion"
TagsNo tags attached.

Activities

geoffclare

2016-10-18 15:06

manager   bugnote:0003422

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.

Mark_Galeck

2016-10-18 15:21

reporter   bugnote:0003424

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?

geoffclare

2016-10-18 15:34

manager   bugnote:0003427

Closing as withdrawn, as requested in 0001090: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