From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1591 invoked from network); 19 Apr 2005 23:02:41 -0000 Received: from ns2.primenet.com.au (HELO primenet.com.au) (?nN8Bl4Z6T902PAMxZN6O+U5TuEQsZFAB?@203.24.36.3) by ns1.primenet.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 19 Apr 2005 23:02:41 -0000 Received: (qmail 20964 invoked from network); 19 Apr 2005 16:46:15 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by proxy.melb.primenet.com.au with SMTP; 19 Apr 2005 16:46:15 -0000 Received: (qmail 63011 invoked from network); 19 Apr 2005 16:46:10 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 19 Apr 2005 16:46:10 -0000 Received: (qmail 1025 invoked by alias); 19 Apr 2005 16:45:58 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8706 Received: (qmail 1012 invoked from network); 19 Apr 2005 16:45:57 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 19 Apr 2005 16:45:57 -0000 Received: (qmail 61625 invoked from network); 19 Apr 2005 16:45:57 -0000 Received: from ns9.hostinglmi.net (213.194.149.146) by a.mx.sunsite.dk with SMTP; 19 Apr 2005 16:45:52 -0000 Received: from 212.red-80-35-44.pooles.rima-tde.net ([80.35.44.212] helo=localhost) by ns9.hostinglmi.net with esmtpa (Exim 4.44) id 1DNvr8-0005NV-6j; Tue, 19 Apr 2005 18:45:46 +0200 Date: Tue, 19 Apr 2005 18:46:52 +0200 From: DervishD To: Bart Schaefer Cc: Zsh Users Subject: Re: globbing with interposition Message-ID: <20050419164626.GB20409@DervishD> Mail-Followup-To: Bart Schaefer , Zsh Users References: <20050419072115.GA15936@fruitcom.com> <1050419152554.ZM31922@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: <1050419152554.ZM31922@candle.brasslantern.com> User-Agent: Mutt/1.4.2.1i Organization: DervishD X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ns9.hostinglmi.net X-AntiAbuse: Original Domain - sunsite.dk X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - dervishd.net X-Source: X-Source-Args: X-Source-Dir: X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 Hi Bart :) * Bart Schaefer dixit: > } a=(fotos*) mutt eric '-a '${^a} -s "all images attached" That doesn't work because the order of assignment and expansion is not > what you expect. That is, the ${^a} is expanded at parse time, but > the assignment prefixes are handled at execute time. Oops, I did the assignment on one command line and the 'mutt' command line in another. Well, in fact I had the array already filled and I just used it. So I didn't catch the problem :( Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 http://www.dervishd.net & http://www.pleyades.net/ It's my PC and I'll cry if I want to...