Article View: news.software.readers
Article #12303Re: trn: search body, ignore Path
From: Wayne Davison
Date: Wed, 02 Nov 1994 00:04
Date: Wed, 02 Nov 1994 00:04
20 lines
1508 bytes
1508 bytes
According to <lvirden@cas.org>: > I have the same problem - there are certain strings that I would love > to hit but to ignore their presences in the identification headers, or > in the attribution lines in the body or the signatures. How about this for a step in the right direction: /search string/b:+ Using the 'b' modifier only searches the body of the article, and it stops searching at the "-- \n" line which most(?) people still use to delimit their signature. This will let you find something in the body of the article without hitting a header and without hitting (most) signatures. This was a simple tweak in the code, but having it ignore attribution lines is a little harder. I may try to take a stab at that too, but I don't have a good algorithm for it off the top of my head. -- Wayne Davison davison@borland.com
Technical Details
Message-ID:
<CyM5Ir.Lpo@borland.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!gatech!concert!decwrl!borland.com!davisonReferences:
<CyH2JB.EA7@pluto.rain.com> <1994Nov1.160938.26501@chemabs.uucp>Show Full Headers
Complete Article Headers
Message-ID: <CyM5Ir.Lpo@borland.com> Subject: Re: trn: search body, ignore Path Date: Wed, 2 Nov 1994 00:04:03 GMT From: davison@borland.com (Wayne Davison) References: <CyH2JB.EA7@pluto.rain.com> <1994Nov1.160938.26501@chemabs.uucp> 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!gatech!concert!decwrl!borland.com!davison Newsgroups: news.software.readers Organization: Borland International Lines: 20