Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Adding Text to Each Match



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