From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23768 invoked from network); 7 Aug 2003 10:32:19 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 7 Aug 2003 10:32:19 -0000 Received: (qmail 13104 invoked by alias); 7 Aug 2003 10:32:10 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 18937 Received: (qmail 13085 invoked from network); 7 Aug 2003 10:32:09 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 7 Aug 2003 10:32:09 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [217.174.194.138] by sunsite.dk (MessageWall 1.0.8) with SMTP; 7 Aug 2003 10:32:9 -0000 Received: from DervishD.pleyades.net (212.Red-80-35-44.pooles.rima-tde.net [80.35.44.212]) by madrid10.amenworld.com (8.10.2/8.10.2) with ESMTP id h77AW6L14648; Thu, 7 Aug 2003 12:32:06 +0200 Received: from raul@pleyades.net by DervishD.pleyades.net with local (Exim MTA 2.05) id <19ki5g-00009K-00>; Thu, 7 Aug 2003 12:33:52 +0200 Date: Thu, 7 Aug 2003 12:33:52 +0200 From: DervishD To: Peter Stephenson Cc: Zsh Subject: Re: Just to make sure I'm understanding it... Message-ID: <20030807103352.GG524@DervishD> Mail-Followup-To: Peter Stephenson , Zsh References: <20030806193557.GA463@DervishD> <3927.1060250161@csr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3927.1060250161@csr.com> User-Agent: Mutt/1.4i Organization: Pleyades User-Agent: Mutt/1.4i Hi Peter :) * Peter Stephenson dixit: > > is, why the spaces around the pattern and the qualifier? > They're optional, they're just there for readability. OK, nice. I thought that it had to do with something about the globbing... > What you're > probably missing is the the outer parentheses are there to turn the > assignment into an array assignment, they're nothing to do with > globbing. Oops. I thought that they where there for introducing a filename generation. I thought I read it in the manual, but I'm not sure... Yes, I know. In the manual says that if a word contains an unquoted instance of a '*', '(', etc... it is regarded as a pattern for filename generation, and I interpreted (wrongly) that 'if a word starts'. My fault, sorry O:) > The new arrangement (with GLOB_ASSIGN unset) is much neater. Yes, you're true. Well, thanks a lot again for your fast and informative answer. I'm just amazed about how powerful zsh is, and learning all that power is difficult (at least for me), so is very comforting for me to know that zsh gurus like you give a helping hand to zsh clueless (like me) ;))) Free software is fantastic. Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 http://www.pleyades.net & http://raul.pleyades.net/