From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2199 invoked from network); 12 Dec 2005 19:03:10 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.0 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 12 Dec 2005 19:03:10 -0000 Received: (qmail 94077 invoked from network); 12 Dec 2005 19:03:03 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 12 Dec 2005 19:03:03 -0000 Received: (qmail 28887 invoked by alias); 12 Dec 2005 19:02:56 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9789 Received: (qmail 28877 invoked from network); 12 Dec 2005 19:02:56 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 12 Dec 2005 19:02:56 -0000 Received: (qmail 93037 invoked from network); 12 Dec 2005 19:02:56 -0000 Received: from bes.cs.utk.edu (160.36.56.220) by a.mx.sunsite.dk with SMTP; 12 Dec 2005 19:02:54 -0000 Received: from localhost (bes [127.0.0.1]) by bes.cs.utk.edu (Postfix) with ESMTP id 551552740E; Mon, 12 Dec 2005 14:02:53 -0500 (EST) Received: from bes.cs.utk.edu ([127.0.0.1]) by localhost (bes [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30422-05; Mon, 12 Dec 2005 14:02:51 -0500 (EST) Received: from namib.cs.utk.edu (namib.cs.utk.edu [160.36.59.92]) by bes.cs.utk.edu (Postfix) with ESMTP id CD9322738C; Mon, 12 Dec 2005 14:02:51 -0500 (EST) Received: by namib.cs.utk.edu (Postfix, from userid 10605) id 8537236EDD; Mon, 12 Dec 2005 14:02:51 -0500 (EST) Date: Mon, 12 Dec 2005 14:02:51 -0500 From: Chris Johnson To: zsh-users@sunsite.dk Cc: Bart Schaefer Subject: Re: Adding Text to Each Match Message-ID: <20051212190251.GA13027@namib.cs.utk.edu> References: <20051212153946.GA2836@namib.cs.utk.edu> <1051212162111.ZM21491@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1051212162111.ZM21491@candle.brasslantern.com> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new with ClamAV and SpamAssasin at cs.utk.edu Bart Schaefer sent me the following 0.5K: > On Dec 12, 10:39am, Chris Johnson wrote: > > } Is there a non-loop way to replicate text for each filename matching a > } pattern? [...] > } I think there's been some talk of this, but I don't know what to search > } for in the archives. > > Try searching for "mutt". The thread is "globbing with interposition" > from back in April, and the short-and-sweet answer is that mutt doesn't > care whether there's a space between the -a and the file name, so you > can run them together as -afile1 -afile2 etc., which means you can use > brace expansion. See zsh-users/8707. Got it. Thanks! -- Chris Johnson cjohnson@cs.utk.edu http://www.cs.utk.edu/~cjohnson