On 2/27/24 6:23 AM, Emanuele Torre wrote:
On Tue, Feb 27, 2024 at 04:10:06PM +0700, Robert Elz wrote:
Date: Tue, 27 Feb 2024 00:50:46 +0100
From: Emanuele Torre <torreemanue...@gmail.com>
Message-ID: <Zd0j1s452p-Vod6H@t420>
| To use esac as a pattern you need to use the (esac) syntax,
Or quote it
'esac')
(or similar).
kre
No, then the pattern is 'esac' not esac.
Which is not a problem; the case command performs quote removal on each
pattern in the pattern list, while ensuring that the quoted characters are
quoted appropriately for the pattern matcher.
https://www.austingroupbugs.net/view.php?id=985
talks about quote removal in the pattern list, but that got removed in
the updated resolution. The group tried to incorporate all of this mess
into
https://www.austingroupbugs.net/view.php?id=1234
in the context of backslashes.
--
``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/