Re: What is wrong w/ my regular expression?

David Coppit <[email protected]> Mon, 8 Aug 2005 08:34:30 -0400 (EDT)
Newsgroups gmane.mail.grepmail.general
Message-ID <[email protected]>
On Sun, 7 Aug 2005, Justin Gombos wrote:

>  grepmail -iY \^TO:.*janedoe Mail/sent-mail/*

Try this:

grepmail -iY '^TO:' janedoe Mail/sent-mail/*

The -Y flag specifies the header(s) you want to search. The pattern is
separate. I'll make the docs more clear.

Thanks,
David

_____________________________________________________________________
David Coppit                           [email protected]
The College of William and Mary        http://coppit.org/

"They have computers, and they may have other weapons of mass destruction."
Former Attorney General Janet Reno, speaking at LLNL of modern criminals


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf