🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #4501

Re: Searching question

#4501
From: Nancy McGough
Date: Thu, 15 Jul 1993 22:39
50 lines
2624 bytes
mmay@fmgu32.intel.com (Mike May ~) writes:
>	1)  Using either nn or nngrab, do a global newsgroup search
>	    for a text string in a subject - but only give me articles
>	    that I have _not_ already seen.  Ideally it would recognize
>	    cross-posted articles, and if one had been read in one group,
>	    ignore the same (unread) article in another group.

How about this:

  nn -s"string" newsgroups

For example:

  nn -s"Clinton" clari.all

will present articles you haven't seen that have 
"Clinton" in the subject in the clari.* newsgroups
you're subscribed to.  See pages 2 and 3 in the man 
pages for more info about flags.

I'm not sure if cross-posted articles are shown only
once.  When I tried this it said NO UPDATE in the upper
right corner, so maybe not -- does anyone know?


>	2)  Do a subject search on two words in a subject line which
>	    are not necessarily adjacent.  For example, have it 
>	    find all of the articles which had the keywords "black"
>	    and "pudding" in the subject, but not have it give me articles
>	    on "Ritchie Blackmore is god" or "Choc. pudding is good for your
>	    hair".  I would however want it to find an article with the
>	    subject of "Eating pudding turned my toenails black!"

You can autoselect articles that contain both "black"
and "pudding" by putting this in your kill file:

:+s&s:black:pudding

If you only want to do this in particular newsgroups
precede this with the newsgroup name (or regexp for it).

newsgroup.name:+s&s:black:pudding

I don't know how to do it from the command line (using
-s/"regexp") since & is not understood in regular expressions.
I also don't know how to do it using the G command from
within nn.  Both of these would be nice....

Hope this helps,
Nancy
Technical Details
Message-ID: <224mb1$r7g@news.u.washington.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!math.ohio-state.edu!caen!usenet.coe.montana.edu!netnews.nwnet.net!news.u.washington.edu!stein2.u.washington.edu!nancym
References: <mmay.742692820@fmgu32>

Show Full Headers
Complete Article Headers
Message-ID: <224mb1$r7g@news.u.washington.edu>
Subject: Re: Searching question
Date: Thu, 15 Jul 1993 22:39:29 +0000
From: nancym@stein2.u.washington.edu (Nancy McGough)
References: <mmay.742692820@fmgu32>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!math.ohio-state.edu!caen!usenet.coe.montana.edu!netnews.nwnet.net!news.u.washington.edu!stein2.u.washington.edu!nancym
Newsgroups: news.software.nn
Organization: University of Washington
Lines: 51
Reply-To: nancym@u.washington.edu (Nancy McGough)
NNTP-Posting-Host: stein2.u.washington.edu
X-Newsreader: NN [version 6.4.16]