Subject: Re: ksh patterns
To: None <firstname.lastname@example.org>
From: dieter roelants <dieter.NetBSD@pandora.be>
Date: 09/19/2007 23:21:33
On Wed, 19 Sep 2007 23:05:18 +0200
dieter roelants <dieter.NetBSD@pandora.be> wrote:
> > However, that does not follow the man page:
> > "Both the word and the patterns are subject to parameter, command, and
> > arithmetic substitution as well as tilde substitution."
> Yes it does. You misinterpret the meaning of "patterns" here. If you
> look at the synopsis of case, you see that the '|' isn't part of a
> pattern, it separates multiple of them.
But now that I think about it more,
should probably work because "Patterns used in case statements are the
same as those used for file name patterns". I'll shut up now. :)