Article View: news.software.readers
Article #12329anyone using newscan?
From: Chuck Campbell
Date: Wed, 02 Nov 1994 15:58
Date: Wed, 02 Nov 1994 15:58
53 lines
3094 bytes
3094 bytes
I just grabbed the perl script 'newscan' and would like to make use of it, but
I apparently have something wron in the syntax for my search definition.
I don't know perl, and I don't really have time to sort it out at the moment.
Can anyone point out what is wrong here?
I am trying to scan group comp.sys.sun.admin for all references to "4mm"
I suspect the problem is perl syntax that I don;t know...
# Template Configuration file for newscan Internet news scanner
#
# Note: Lines beginning with # are comments. Remove leading # and
# edit line if you wish to activate line.
#
# specify the Internet address of the NNTP server for the system
# the NNTP server is the machine where the Internet news is stored.
NNTP news.neosoft.com
# specify the mailbox format file for the found articles
MBOX Mail/newscan
# specify the Internet newsgroups to be searched
SELECT comp.sys.sun.admin
# retrieve a news article if it contains a match to regular expression
WHERE /perl 4mm/[i]
# do not retrieve a news article if it contains a match to UNLESS regular expression
#UNLESS /perl regular expression/[i]
# a news article must contain a match to a REQUIRE regular expression to
# be retrieved.
#REQUIRE /perl regular expression/[i]
# collect statistics on search in a file -- to aid in refining search criteria
#COLLECT STATISTICS IN <file-specfication>
# collect statistics on frequency of articles that match a pattern
#COLLECT STATISTICS ON /perl regular expression/i
# collect statistics on search patterns specified by WHERE and REQUIRE lines
#COLLECT STATISTICS ON SEARCH PATTERNS
# collect statistics on unless patterns specified by UNLESS
#COLLECT STATISTICS ON UNLESS PATTERNS
# collect statistics on frequency of articles that match pairs of patterns
#COLLECT STATISTICS ON PAIRS
#<newsgroup>:<excluded range>
#
thanks,
-chuck
--
ACCEL Services, Inc. | Specialists in Gravity, Magnetics
1980 Post Oak Blvd., Suite 2050 | and Integrated Interpretation
Houston, TX, 77056 |
| 1(713)993-0671 voice
Chuck Campbell | 1(713)960-1157 fax
President & Senior Geoscientist | email campbell@neosoft.com
"Integration means more than having all the maps at the same scale!"
Technical Details
Message-ID:
<398cvb$dol@uuneo.neosoft.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!europa.eng.gtefsd.com!darwin.sura.net!news.sesqui.net!uuneo.neosoft.com!Starbase.NeoSoft.COM!campbellShow Full Headers
Complete Article Headers
Message-ID: <398cvb$dol@uuneo.neosoft.com> Subject: anyone using newscan? Date: Wed, 02 Nov 1994 15:58:35 +0000 From: campbell@starbase.neosoft.com (Chuck Campbell) 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!europa.eng.gtefsd.com!darwin.sura.net!news.sesqui.net!uuneo.neosoft.com!Starbase.NeoSoft.COM!campbell Newsgroups: news.software.readers Organization: ACCEL Services, Inc. ph:(713)993-0671, fax:(713)960-1157 Lines: 53 Reply-To: campbell@neosoft.com NNTP-Posting-Host: starbase.neosoft.com X-Newsreader: TIN [version 1.2 PL2]