From: Bart Schaefer <schaefer@brasslantern.com>
To: Chris Johnson <cjohnson@cs.utk.edu>, zsh-users@sunsite.dk
Subject: Re: Adding Text to Each Match
Date: Mon, 12 Dec 2005 16:21:11 +0000 [thread overview]
Message-ID: <1051212162111.ZM21491@candle.brasslantern.com> (raw)
In-Reply-To: <20051212153946.GA2836@namib.cs.utk.edu>
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.
next prev parent reply other threads:[~2005-12-12 16:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-12 15:39 Chris Johnson
2005-12-12 16:21 ` Bart Schaefer [this message]
2005-12-12 18:56 ` Peter Stephenson
2005-12-15 4:39 ` Bart Schaefer
2005-12-12 19:02 ` Chris Johnson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1051212162111.ZM21491@candle.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=cjohnson@cs.utk.edu \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).