🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #4369

Re: finding "India" and not "Indiana"

#4369
From: Nancy McGough
Date: Wed, 30 Jun 1993 19:08
29 lines
1888 bytes
clp@tiamat.umd.umich.edu (Ritesh Patel) writes:
>How do I find articles that have India in the subject without getting articles
>that have Indiana in the subject. Right now I use the following:
>	nn -Q -mxX -s/india clari
>and I get all articles that have india and indiana in the subject from all
>clari groups. I ject want india.

I haven't yet played around with nn's command line arguments 
but I do a similar thing to what you want to do via my kill/select
file.  Here's the line I use to autoselect any articles that
contain nn in the subject:

:+s/:^nn | nn | nn$

This means select any article that starts with "nn ",
contains " nn ", or ends with " nn".

You could do a similar thing with India.  If you wanted
to restrict it to the clari.* newsgroups you could use:

/^clari:+s/:^India | India | India$

If you want to select articles that contain India and
kill all articles that don't contain India you could
do this:
/^clari:~+s/:^India | India | India$

Hope this is helpful
Nancy
Technical Details
Message-ID: <20soai$jpp@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!xlink.net!howland.reston.ans.net!usc!cs.utexas.edu!uwm.edu!caen!usenet.coe.montana.edu!netnews.nwnet.net!news.u.washington.edu!stein2.u.washington.edu!nancym
References: <clp.741065430@tiamat.umd.umich.edu>

Show Full Headers
Complete Article Headers
Message-ID: <20soai$jpp@news.u.washington.edu>
Subject: Re: finding "India" and not "Indiana"
Date: Wed, 30 Jun 1993 19:08:02 +0000
From: nancym@stein2.u.washington.edu (Nancy McGough)
References: <clp.741065430@tiamat.umd.umich.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!xlink.net!howland.reston.ans.net!usc!cs.utexas.edu!uwm.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: 30
Reply-To: nancym@u.washington.edu (Nancy McGough)
NNTP-Posting-Host: stein2.u.washington.edu
Keywords: search subject
X-Newsreader: NN [version 6.4.16]