From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27944 invoked from network); 19 Apr 2005 08:35:00 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 19 Apr 2005 08:35:00 -0000 Received: (qmail 1910 invoked from network); 19 Apr 2005 08:34:54 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 19 Apr 2005 08:34:54 -0000 Received: (qmail 18604 invoked by alias); 19 Apr 2005 08:34:46 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8701 Received: (qmail 18589 invoked from network); 19 Apr 2005 08:34:45 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 19 Apr 2005 08:34:45 -0000 Received: (qmail 771 invoked from network); 19 Apr 2005 08:34:45 -0000 Received: from ns9.hostinglmi.net (213.194.149.146) by a.mx.sunsite.dk with SMTP; 19 Apr 2005 08:34:40 -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 1DNoBo-0002A1-JQ; Tue, 19 Apr 2005 10:34:36 +0200 Date: Tue, 19 Apr 2005 10:35:40 +0200 From: DervishD To: J Cc: Eric Smith , Zsh Users Subject: Re: globbing with interposition Message-ID: <20050419083540.GC144@DervishD> Mail-Followup-To: J , Eric Smith , Zsh Users References: <20050419072115.GA15936@fruitcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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=BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 Hi Jean :) * J dixit: > > I want to be able in a simple command to glob all files > > but there needs to be a `-a' in front of each globbed file name. > > > > mutt eric -a fotos* -s "all images attached" I would suggest something like > > a=(fotos*) mutt eric '-a '${^a} -s "all images attached" or > mutt eric '-a '${^$(print *)} -s "all images attached"