Re: Finding a name inside of an email

From: Ken Weinert <kweinert@gmail.com>
Date: Wed Feb 23 2005 - 04:45:33 AKST

Shows what happens when you learn something and don't keep up with
command changes. I would have written that command as:

find ~/Maildir -type f -exec fgrep -i ledoux {} /dev/null \;

which also shows the filename since you've fooled grep into thinking
it's searching >1 file :)

On Tue, 22 Feb 2005 23:13:30 +0100, David J. Weller-Fahy
<dave-lists-aklug@weller-fahy.com> wrote:
> * jonr <jonr@destar.net> [2005-02-22 23:00 +0100]:
> > I should have clarified this a little better. I have about 1000 emails
> > that I need to go through and find that one name. I am using qmail
> > with mialdirs so all of the users email is in one directory which then
> > splits into three, cur, new and tmp.
>
> Ah! No worries, here's what works for me (FreeBSD 5.3):
>
> find Maildir/ -type f -exec grep -iH ledoux {} \;
>
> The H option shows the file name.
>
> HTH,
> --
> dave [ please don't CC me ]
> ---------
> To unsubscribe, send email to <aklug-request@aklug.org>
> with 'unsubscribe' in the message body.
>
>

-- 
Ken Weinert   kweinert@gmail.com
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Wed Feb 23 04:45:30 2005

This archive was generated by hypermail 2.1.8 : Wed Feb 23 2005 - 04:45:30 AKST