Confusing description of Exec quoting rules
Submitted by Roman
Assigned to Allison Lortie
"Note that the general escape rule for values of type string states that the backslash character can be escaped as ("\") as well and that this escape rule is applied before the quoting rule."
But if general escape rule is applied before, than there should be no tabs, no spaces and no new lines. So why are they listed in the Reserved characters list?
"If an argument contains a reserved character the argument must be quoted" ... "Reserved characters are space (" "), tab, newline..."
I.e. following spec it should be like this:
original: hello $world (here's tab) escaped: hello\t$world quoted: "hello\t$"
Which is again controversial to spec since it states dollar sign must be presented as "\$".
I believe the spec contains an error and the actual order is to apply quoting rule before general escaping.
quoted: "hello\t$world" escaped: "hello\t\$world"
Also spec should have more examples on this topic.