From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15567 invoked from network); 8 Jun 1999 15:00:31 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 8 Jun 1999 15:00:31 -0000 Received: (qmail 12792 invoked by alias); 8 Jun 1999 14:59:52 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6530 Received: (qmail 12784 invoked from network); 8 Jun 1999 14:59:49 -0000 Message-Id: <9906081430.AA38925@ibmth.df.unipi.it> To: zsh-workers@sunsite.auc.dk (Zsh hackers list) Subject: Re: PATCH: pws-21: parentheses in command word In-Reply-To: ""Bart Schaefer""'s message of "Tue, 08 Jun 1999 14:51:40 DFT." <990608145140.ZM24078@candle.brasslantern.com> Date: Tue, 08 Jun 1999 16:30:46 +0200 From: Peter Stephenson "Bart Schaefer" wrote: > } For some reason, parentheses are treated specially in the command word in > } zsh, not just at the start (where, of course, they start a subshell). > > They're treated that way because array assignments are in command position. That's a special case: if it finds an '=' in the command word, it searches for a '(' straight afterwards, so the code for searching for a '(' on its own isn't used. But maybe it was once. -- Peter Stephenson Tel: +39 050 844536 WWW: http://www.ifh.de/~pws/ Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy