Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug in case stmt with '('
- X-seq: zsh-workers 1755
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: schaefer@xxxxxxx
- Subject: Re: Bug in case stmt with '('
- Date: Wed, 24 Jul 1996 16:16:21 +0200 (MET DST)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <960724041029.ZM6215@xxxxxxxxxxxxxxxxxxxxxxx> from Bart Schaefer at "Jul 24, 96 04:10:29 am"
- Organization: Dept. of Comp. Sci., Eotvos University, Budapest, Hungary
- Phone: (36 1)2669833 ext: 2667, home phone: (36 1) 2752368
> I confess to not understanding what it even *means* to "[disable] the
> special meaning of `(', `|', `)' and `<' for globbing the result of
> parameter and command substitutions." And what *are* the "some other
> places where the shell accepts patterns" where this has effect?
In fact it affects every places where patterns can be used except explicit
glob patterns on the command line and case patterns. This means -m builtin
options, completion glob patterns, ${...%...} substitutions, $foo[(r)...]
indexing etc.
It does not affect explicit glob patterns because in that case these
patterns result in syntax error in sh. Also it would make the lexer a bit
more complicated since more special test sould be added and case patterns
should be treated specially.
Zoltan
Messages sorted by:
Reverse Date,
Date,
Thread,
Author