On 4/10/18 4:28 PM, Martijn Dekker wrote:

>> [this includes case patterns as quote removal is not performed on them]
> But it is. POSIX explicitly specifies quote removal for 'case' patterns:
> 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 text is describing the `word', not the patterns kre is talking about.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to