From: David Coppit <dwc3q@cs.virginia.edu>
Subject: Announcing grepmail version 1.7
Date: 23 Sep 1998 00:04:57 GMT
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