From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by melb.werple.net.au (8.7.5/8.7.3/2) with ESMTP id AAA13035 for ; Thu, 25 Jul 1996 00:30:23 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id KAA09134; Wed, 24 Jul 1996 10:17:14 -0400 (EDT) Resent-Date: Wed, 24 Jul 1996 10:17:14 -0400 (EDT) From: Zoltan Hidvegi Message-Id: <199607241416.QAA20719@bolyai.cs.elte.hu> Subject: Re: Bug in case stmt with '(' To: schaefer@nbn.com Date: Wed, 24 Jul 1996 16:16:21 +0200 (MET DST) Cc: zsh-workers@math.gatech.edu In-Reply-To: <960724041029.ZM6215@candle.brasslantern.com> 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 X-Mailer: ELM [version 2.4ME+ PL16 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"shR9T.0.dE2.f1Zzn"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/1755 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu > 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