Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Adding Text to Each Match
- X-seq: zsh-users 9789
- From: Chris Johnson <cjohnson@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Adding Text to Each Match
- Date: Mon, 12 Dec 2005 14:02:51 -0500
- Cc: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- In-reply-to: <1051212162111.ZM21491@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20051212153946.GA2836@xxxxxxxxxxxxxxxx> <1051212162111.ZM21491@xxxxxxxxxxxxxxxxxxxxxxx>
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@xxxxxxxxxx
http://www.cs.utk.edu/~cjohnson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author