From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <0f1484cf96c1a97c4423d30ca917475f@quanstro.net> To: 9fans@9fans.net From: erik quanstrom Date: Tue, 18 Nov 2008 17:54:54 -0500 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Mg (Mail grep) Topicbox-Message-UUID: 481898de-ead4-11e9-9d60-3106f5b1d025 > 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