From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16444 invoked from network); 13 Sep 2003 17:10:29 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 13 Sep 2003 17:10:29 -0000 Received: (qmail 24541 invoked by alias); 13 Sep 2003 17:10:19 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19075 Received: (qmail 24531 invoked from network); 13 Sep 2003 17:10:19 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 13 Sep 2003 17:10:19 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [217.174.194.138] by sunsite.dk (MessageWall 1.0.8) with SMTP; 13 Sep 2003 17:10:18 -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 h8DHA9302813; Sat, 13 Sep 2003 19:10:09 +0200 Received: from raul@pleyades.net by DervishD.pleyades.net with local (Exim MTA 2.05) id <19yDxg-00001I-00>; Sat, 13 Sep 2003 19:13:28 +0200 Date: Sat, 13 Sep 2003 19:13:28 +0200 From: DervishD To: Bart Schaefer Cc: Zsh Subject: Re: Getting rid of temporaries... Message-ID: <20030913171328.GB70@DervishD> Mail-Followup-To: Bart Schaefer , Zsh References: <20030910203429.GA354@DervishD> <20030910223845.GA10805@lorien.emufarm.org> <1030911010623.ZM7489@candle.brasslantern.com> <1378.1063261796@gmcs3.local> <20030911093927.GC50@DervishD> <22662.1063358877@gmcs3.local> <1030912183920.ZM14964@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1030912183920.ZM14964@candle.brasslantern.com> User-Agent: Mutt/1.4i Organization: Pleyades User-Agent: Mutt/1.4i Hi Bart :) * Bart Schaefer dixit: > } [[ -z 'foo.<28->.jpg(N[2])' ]] > } which is no use. > It's not eval that quotes that, it's [[ ]]. Oh :((( > So without the function, it's > print -l *.??.jpg(e@'eval "[ -z ${~REPLY:r:r}.<${~REPLY:r:e}->.jpg(N[2]) ]"'@) > where @ is chosen as a character that appears nowhere in the expression. Thanks a lot for the expressión :)))) Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 http://www.pleyades.net & http://raul.pleyades.net/