From owner-freebsd-questions Thu Dec 30 8:25:25 1999 Delivered-To: freebsd-questions@freebsd.org Received: from web124.yahoomail.com (web124.yahoomail.com [205.180.60.192]) by hub.freebsd.org (Postfix) with SMTP id DE483153BE for ; Thu, 30 Dec 1999 08:25:22 -0800 (PST) (envelope-from osiris2002@yahoo.com) Received: (qmail 11441 invoked by uid 60001); 30 Dec 1999 16:25:22 -0000 Message-ID: <19991230162522.11440.qmail@web124.yahoomail.com> Received: from [208.14.5.210] by web124.yahoomail.com; Thu, 30 Dec 1999 08:25:22 PST Date: Thu, 30 Dec 1999 08:25:22 -0800 (PST) From: Joss Roots Subject: How to serach the Mail Archives To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi ALL, Happy New YEAR 2K I hope the y2k passes smoothly on all of you anxious people out there. I cvsuped the whole mail-archive I need some kind of script to allow me search my local copy of the mail archive, something that would: 1. allow something like: searchmail /usr/mail-lists/ "how to" $1 = directory to parse (or freebsd-questions) for the name of the target archive to search. $2 = search word 2. see if the archive is gzipped or not and behave accordingly, i.e. invoke zcat or not 3. Traverses the whole tree if necessary to find the target archive to search. Thanks in advance. ===== MAY THE FORCE BE WITH YOU. __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://messenger.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message