Article View: news.software.readers
Article #156Re: Searching for a word in nn
From: Richard M. Mathews
Date: Fri, 28 Jun 1991 04:28
Date: Fri, 28 Jun 1991 04:28
15 lines
1396 bytes
1396 bytes
jaap@sequent.com (Jaap Vermeulen) writes:
>You will be better off with a
> find /usr/spool/news -exec grep -l "YourKeyword" {} \;
Of course this runs 1 grep for every article in the spool. For a full
feed that's something like 8000 processes for each day of news you keep.
You can reduce this somewhat with
find /usr/spool/news -print | xargs grep -l "YourKeyword"
In place of "xargs" you can also use "apply -number" with as big a number
as it can take.
Richard M. Mathews Freedom for Lithuania
richard@locus.com Laisve!
lcc!richard@seas.ucla.edu
....!{uunet|ucla-se|turnkey}!lcc!richard
Technical Details
Message-ID:
<1991Jun28.042835.1202986@locus.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmdzi!unido!math.fu-berlin.de!ox.com!yale.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state.edu!mips!pacbell.com!decwrl!mejac!orchard.la.locus.com!devnet.la.locus.com!richardReferences:
<1991Jun25.200918.13106@ux1.cso.uiuc.edu> <1991Jun26.163849.28550@sequent.com>Show Full Headers
Complete Article Headers
Message-ID: <1991Jun28.042835.1202986@locus.com> Subject: Re: Searching for a word in nn Date: Fri, 28 Jun 1991 04:28:35 +0000 From: richard@locus.com (Richard M. Mathews) References: <1991Jun25.200918.13106@ux1.cso.uiuc.edu> <1991Jun26.163849.28550@sequent.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmdzi!unido!math.fu-berlin.de!ox.com!yale.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state.edu!mips!pacbell.com!decwrl!mejac!orchard.la.locus.com!devnet.la.locus.com!richard Newsgroups: news.software.readers Organization: Locus Computing Corporation, Los Angeles, California Lines: 15