From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5367 invoked from network); 11 Sep 2003 10:04:58 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 11 Sep 2003 10:04:58 -0000 Received: (qmail 28701 invoked by alias); 11 Sep 2003 10:04:52 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19066 Received: (qmail 28689 invoked from network); 11 Sep 2003 10:04:51 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 11 Sep 2003 10:04:51 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [217.174.194.138] by sunsite.dk (MessageWall 1.0.8) with SMTP; 11 Sep 2003 10:4:51 -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 h8BA4l816903; Thu, 11 Sep 2003 12:04:47 +0200 Received: from raul@pleyades.net by DervishD.pleyades.net with local (Exim MTA 2.05) id <19xNmV-00000w-00>; Thu, 11 Sep 2003 11:30:27 +0200 Date: Thu, 11 Sep 2003 11:30:27 +0200 From: DervishD To: Danek Duvall , Zsh Subject: Re: Getting rid of temporaries... Message-ID: <20030911093027.GA50@DervishD> Mail-Followup-To: Danek Duvall , Zsh References: <20030910203429.GA354@DervishD> <20030910223845.GA10805@lorien.emufarm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20030910223845.GA10805@lorien.emufarm.org> User-Agent: Mutt/1.4i Organization: Pleyades User-Agent: Mutt/1.4i Hi Danek :) * Danek Duvall dixit: > The "typeset -U" makes $array discard duplicate elements That's what I was looking for :))) I didn't find it in the manual. I think I need more sleep. Or more caffeine. Or both O:) > The "^" turns on rcexpandparam for the expansion of $array, which means > that, as an array, each element is modified. I have rcexpandparam enabled by default, but anyway I see no use of it here, since (AFAIK), that option is for cases like FOO${array}BAR expanding to FOOelement1BAR FOOelement2BAR instead of the more common FOOelement1 element2BAR. > And I turned your "??" into "<00-99>", which explicitly only > matches two-digit numbers (you could also use "<->" to match all > numbers). Well, I didn't care so much about the globbing because I'm pretty sure about the filenames, but yours is better. Thanks a lot! Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 http://www.pleyades.net & http://raul.pleyades.net/