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:
> | 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/