🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #12256

Re: How to Search body of messages in group(s)

#12256
From: Jeffrey Hurwit
Date: Sun, 30 Oct 1994 23:49
36 lines
2717 bytes
In article <1994Oct25.165909.11714@nlm.nih.gov>, 
Alicia Abramson (abramson@lhc.nlm.nih.gov.nlm.nih.gov) wrote:

>Is there a news reader that supports string searching in the body of
>messages both within a single newsgroup, or within a bunch of newsgroups
>at the same time?  I'm doing a project where I'd like to analyze how
>often certain strings appear in newsgroups.

>I remember there was something in Wired about this last year, in reference
>to Kibo, the guy who finds any mention of him anywhere in Usenet world.

    This reference probably described a technique known as "grepping
    the news spool," named for one of the Unix tools that makes it
    possible.  If you get your news over an NNTP server, I can't tell
    you how it's done, but if your account is on a Unix machine and
    your news is "local," you will find the articles stored as files
    with number filenames, usually in subdirectories under
    /usr/spool/news or /var/spool/news.  The newsgroup names form the
    subdirectories, so for example articles in comp.software.readers
    would be found in /usr/spool/news/comp/software/readers.

    Grep is a tool that will search through a file or several files,
    and has options to give you the line your search pattern appears
    in, the file name and the line if more than one file is searched,
    or just the file name where the search pattern was found. 
    Unfortunately, grep will not "recurse" subdirectories (that is,
    decend into a subdirectory, search the files there, go into the
    next subdirectory down, etc.), but there are other Unix tools that,
    when used with grep, will make it function this way.  So, if news
    articles are available to you as files in a directory tree, and you
    have some kind of searching tool like grep on your system, you can
    "grep the news spool" to find what you want within one group,
    within a hierarchy (all the alt groups, perhaps), or in everything
    that you get on your site.

    					Jeff
Technical Details
Message-ID: <jhurwitCyIFI5.HpI@netcom.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!bga.com!news.sprintlink.net!howland.reston.ans.net!ix.netcom.com!netcom.com!jhurwit
References: <1994Oct25.165909.11714@nlm.nih.gov>

Show Full Headers
Complete Article Headers
Message-ID: <jhurwitCyIFI5.HpI@netcom.com>
Subject: Re: How to Search body of messages in group(s)
Date: Sun, 30 Oct 1994 23:49:16 GMT
From: jhurwit@netcom.com (Jeffrey Hurwit)
References: <1994Oct25.165909.11714@nlm.nih.gov>
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!bga.com!news.sprintlink.net!howland.reston.ans.net!ix.netcom.com!netcom.com!jhurwit
Newsgroups: news.software.readers
Organization: Organization? What organization?
X-Newsreader: TIN [version 1.2 PL1]
Lines: 36