Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Adding Text to Each Match
- X-seq: zsh-users 9785
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Chris Johnson <cjohnson@xxxxxxxxxx>, zsh-users@xxxxxxxxxx
- Subject: Re: Adding Text to Each Match
- Date: Mon, 12 Dec 2005 16:21:11 +0000
- In-reply-to: <20051212153946.GA2836@xxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20051212153946.GA2836@xxxxxxxxxxxxxxxx>
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author