Op 10-04-18 om 21:52 schreef Robert Elz:
No, it doesn't.

Read that again, with the emphasis I am adding ...

   
|http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_04_05
   | | The conditional construct case shall execute the/compound-list/
   | | corresponding to the first one of several/patterns/  (see Pattern
   | | Matching Notation) that is matched by the string resulting from the
   | | tilde expansion, parameter expansion, command substitution,
   | | arithmetic expansion, and quote removal **of the given word**.

That part is talking about the "case $x in" $x is the "given word",
that is certainly subject to quote removal.
Quite right, I stand corrected.

Thanks,

- M.

Reply via email to