🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #8284

Re: ANNOUNCEMENT: Newsspy 1.0, (Some suggestions)

#8284
From: Randall S. Krebs - LithoCAD
Date: Tue, 29 Mar 1994 21:26
60 lines
3416 bytes
In article <2n45t2$r7@steffi.demon.co.uk>, robert@steffi.demon.co.uk (Robert Nicholson) writes:
|> hofmann@vipmza.physik.uni-mainz.de (hofmann) wrote in comp.lang.tcl
|> >Newsspy is a program which automatically connects to a newsserver and scans
|> >the article headers of selected newsgroups for special keywords. If a match
|> >is found, newsspy will read the article and append it to a given file. With
|> >cron, this process can be automated and the retrieved files can be sent via
|> >email to the user.
|> 
|> This would be a great tool if it scanned by cycling through each header using
|> HEAD instead of assuming that Newsserver supported XOVER.  It could
|> use regexes too and the ability to specify keywords on a per group
|> basis.
|> 
|> Did anybody tackle these problems?

I did.  But I got sidetracked and never completed the suite of nntp
utilities.  Here is an excerpt from one of the utilites.  E-mail me
if you are interested in more.




NNTPGREP(1)              USER COMMANDS                NNTPGREP(1)



NAME
     nntpgrep - search for articles matching a string pattern

SYNOPSIS
     nntpgrep [ -abfisuv ] [ -h field ] [ -r range ] [ -F  newsrc
                                -----        -----         ------
     ] [ -S server ] pattern ngname...
            ------   ------- ------

DESCRIPTION
     nntpgrep searches through the news articles on the specified
     NNTP  news server to find those which match the pattern cri-
                ------                               -------
     teria.  The search can be limited  to  any  specific  header
     line  in  each  article, the message body of the article, or
     the entire article.

     The news groups in which nntpgrep conducts its search can be
     limited  to  a single news group, or those news groups which
     match a news group pattern.  In addition, the search can  be
     limited to only those articles in a specified range list, or
                                                   -----
     only those articles which have not yet been  read  according
     to the contents of the newsrc file.
                            ------

randall.
-- 
   Randall S. Krebs             | 
   (randall@slc.mentorg.com)    | "The rose goes in the front, big guy."
   Mentor Graphics Corp.        |    - Crash Davis
   Murray, Utah	                | 
Disclaimer:  These are my views.  And I could be wrong.
Technical Details
Message-ID: <2na6du$nap@hpcan240.mentorg.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.lang.perl.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!pipex!sunic!psinntp!psinntp!news.mentorg.com!hpcan240.mentorg.com!slc.mentorg.com!randall
References: <2miga6$pp5@bambi.zdv.uni-mainz.de> <2n45t2$r7@steffi.demon.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <2na6du$nap@hpcan240.mentorg.com>
Subject: Re: ANNOUNCEMENT: Newsspy 1.0, (Some suggestions)
Date: Tue, 29 Mar 1994 21:26:22 +0000
From: randall@slc.mentorg.com (Randall S. Krebs - LithoCAD)
References: <2miga6$pp5@bambi.zdv.uni-mainz.de> <2n45t2$r7@steffi.demon.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.lang.perl.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!pipex!sunic!psinntp!psinntp!news.mentorg.com!hpcan240.mentorg.com!slc.mentorg.com!randall
Newsgroups: comp.lang.tcl,demon.ip.support.unix,news.software.readers,comp.lang.perl
Organization: Mentor Graphics Corp., Murray, Utah
Lines: 59
Distribution: world
NNTP-Posting-Host: riffraff.slc.mentorg.com
Keywords: News, NNTP, Newsreader, Tcl