Article View: news.software.nn
Article #4453Re: trn over nn
From: Nancy McGough
Date: Mon, 09 Aug 1993 00:45
Date: Mon, 09 Aug 1993 00:45
67 lines
3618 bytes
3618 bytes
To clarify this conversation I've prepended lines written
by me with nm and lines written by Anthony with aad.
nm + can search all (or some) newsgroups for subject and/or author
aad>>> grep works for me.
nm>> Don't you also have to use the user-unfriendly find command?
aad> No, especially not across NFS.
nm>> And isn't
nm>> this really slow since it's not taking advantage of the subject/author
nm>> database?
aad> What if I'm grepping for something that's in header that's not in
aad> that database, or in the body? What if I care about the articles that
aad> nnmaster hasn't seen fit to recognize yet?
nm>> What's the command you'd use?
aad> I wouldn't, because that's not the kind of thing i do.
This started with my claim that one advantage of nn over trn is that
you "can search all (or some) newsgroups for subject and/or author."
I don't want to get into a religious war about nn vs. trn -- I'd like
to intelligently discuss the differences. FYI I use both trn and nn
and am in the process of customizing trn so that it does as
much of the nn things I like as possible. I've always used rn (and
now trn) for searching on headers other than subject and "real name,"
and full body searching.
I'd like to know when and how Anthony and others use grep when
searching through news articles. Here are some of the kinds of
searching I do:
SEARCHING WITHIN ONE NEWSGROUP
search which
search field articles? nn command trn command
------------ --------- ---------- -----------
Subject: all G s subj-string /subj-string/r
"real" name all G n realname-string /realname-string/rf
From: all n/a /frm-string/rf
header all n/a /header-string/rh
header & body all n/a /article-string/ra
Note that both trn and nn allow you to specify case sensitivity.
I think trn is easier (you just use the c flag). In nn you need
to use the case-fold-search variable.
SEARCHING ALL (OR SOME) NEWSGROUPS FOR SUBJECT OR AUTHOR
This is where I think nn is clearly better than trn, and what
the above conversation is about. In nn you can use command
line flags to specify what type of cross-newsgroup search
you want to do and how you want the results presented.
Anthony said that grep works fine for him. That's fine--
I'm just curious what command he uses (and others who use
grep for searching). And how do you search across multiple
groups without using the find command?
Just curious,
Nancy
Technical Details
Message-ID:
<2446mv$717@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!sol.ctr.columbia.edu!spool.mu.edu!olivea!decwrl!decwrl!usenet.coe.montana.edu!netnews.nwnet.net!news.u.washington.edu!stein2.u.washington.edu!nancymReferences:
<CBB7I8.Cyu@gator.oau.org> <23sert$hs5@news.u.washington.edu> <CBBr3p.BL2@scr.siemens.com> <23tso3$qf3@news.u.washington.edu> <CBGFzv.E2K@scr.siemens.com>Show Full Headers
Complete Article Headers
Message-ID: <2446mv$717@news.u.washington.edu> Subject: Re: trn over nn Date: Mon, 09 Aug 1993 00:45:19 +0000 From: nancym@stein2.u.washington.edu (Nancy McGough) References: <CBB7I8.Cyu@gator.oau.org> <23sert$hs5@news.u.washington.edu> <CBBr3p.BL2@scr.siemens.com> <23tso3$qf3@news.u.washington.edu> <CBGFzv.E2K@scr.siemens.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.nn.mbox.zip!gmd.de!xlink.net!sol.ctr.columbia.edu!spool.mu.edu!olivea!decwrl!decwrl!usenet.coe.montana.edu!netnews.nwnet.net!news.u.washington.edu!stein2.u.washington.edu!nancym Newsgroups: news.software.b,news.software.nn,news.software.readers Organization: University of Washington Lines: 68 Reply-To: nancym@u.washington.edu (Nancy McGough) NNTP-Posting-Host: stein2.u.washington.edu X-Newsreader: NN [version 6.4.16]