From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] Mg (Mail grep)
Date: Tue, 18 Nov 2008 17:54:54 -0500 [thread overview]
Message-ID: <0f1484cf96c1a97c4423d30ca917475f@quanstro.net> (raw)
In-Reply-To: <da559b1fa34b90d92605c884dd821039@9srv.net>
> A few days ago, someone in #plan9 asked how to search for all
> messages with a certain string in Acme Mail. The provided answer
> was "grep(1)", which has the advantage of being concise and
> maybe nominally correct, but the disadvantage of being totally
> useless as a practical answer.
just to add to that. if Mail is not a requirement, ned has some
interesting possibilities
for messages with Mg in the "h" line, execute the h command
g/Mg/h
same thing for matches in the whole message
g%Mg%h
nupas ned allows you to search any file that upas/fs provides
for a message. for example, if you want to print out all messages
that reference a given message
25: p references
d6dea0d153e3a5b9afac72c15318644e@coraid.com
25: g#references#d6dea0d153e3a5b9afac72c15318644e@coraid.com#h
25 1208 9/04 10:23 quanstro@coraid.com Re: sata
57 1706 9/04 10:01 example@coraid.com Re: sata
countdown to requests for threading in 3..2..1..
- erik
next prev parent reply other threads:[~2008-11-18 22:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-18 22:29 a
2008-11-18 22:54 ` erik quanstrom [this message]
2008-11-19 5:16 ` Skip Tavakkolian
2008-11-19 12:01 ` a
2008-11-19 6:00 ` akumar
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=0f1484cf96c1a97c4423d30ca917475f@quanstro.net \
--to=quanstro@quanstro.net \
--cc=9fans@9fans.net \
/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.
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).