Path: usenet.cise.ufl.edu!newsfeeds.nerdc.ufl.edu!newsfeeds.nerdc.ufl.edu!news.magicnet.net!news.iag.net!nntp-out.monmouth.com!newspeer.monmouth.com!nntprelay.mathworks.com!news.mathworks.com!uunet!uunet!in1.uu.net!news.neta.com!not-for-mail
From: David Coppit <dwc3q@cs.virginia.edu>
Newsgroups: comp.lang.perl.announce,comp.lang.perl.misc
Subject: Announcing grepmail version 1.7
Followup-To: comp.lang.perl.misc
Date: 23 Sep 1998 00:04:57 GMT
Organization: University of Virginia
Lines: 59
Approved: merlyn@stonehenge.com (comp.lang.perl.announce)
Message-ID: <6u9dv9$n81$1@news.neta.com>
NNTP-Posting-Host: gadget.cscaper.com
X-Trace: news.neta.com 906509097 23809 206.67.186.3 (23 Sep 1998 00:04:57 GMT)
X-Complaints-To: abuse@neta.com
NNTP-Posting-Date: 23 Sep 1998 00:04:57 GMT
X-Disclaimer: The "Approved" header verifies header information for article transmission and does not imply approval of content.
Xref: usenet.cise.ufl.edu comp.lang.perl.announce:138 comp.lang.perl.misc:37441


grepmail 1.7: A Perl script for searching email archives for patterns, in
the spirit of grep. Outputs full email messages. This new version is
faster and more robust.

grepmail supports gzip'ed files, -i, and -v, and can be piped to.
Please report any bugs, modifications, or suggestions.


Available on CPAN at:
$CPAN/authors/id/D/DC/DCOPPIT/grepmail-1.7.tar.gz

(Goto http://www.perl.org/ if you don't know how to get to CPAN.)

---------------------------------------

usage: grepmail [-vi] [-d "datespec"] <expr> <files...>

-i Ignore case in the search expression
-v Output emails that don't match the expression

Date specifications must be of the form of:
a date like "today", "1st thursday in June 1992", "05/10/93",
  "12:30 Dec 12th 1880", "8:00pm december tenth",
OR "before", "after", or "since", followed by a date as defined above,
OR "between <date> and <date>", where <date> is defined as above.

You can also pipe to grepmail.

---------------------------------------

Here are a few examples:

Get all email that you mailed yesterday
- grepmail -d "yesterday" . sent-mail

Get all email that you mailed before the first thursday in June 1998 that
pertains to research:
- grepmail -d "before 1st thursday in June 1992" research sent-mail

Get all email you received since 8/20/98 that wasn't about research,
ignoring case:
- grepmail -i -d "since 8/20/98" -v research saved-mail

Get all email about research but not about software:
- grepmail research saved-mail | grepmail -v software

David

_________________________________________________________________________
David Coppit - Graduate Student        coppit@cs.virginia.edu
The University of Virginia             http://www.cs.virginia.edu/~dwc3q
                "For I am a Bear of Very Little Brain,
             and long words Bother me" - Winnie the Pooh





