Article View: news.software.readers
Article #12448Re: Needed: a trn/strn/rn Kill file _CODE_ expert
From: Tom Christiansen
Date: Mon, 07 Nov 1994 13:26
Date: Mon, 07 Nov 1994 13:26
34 lines
2270 bytes
2270 bytes
:-> In news.software.readers, davison@borland.com (Wayne Davison) writes: :According to <lvirden@cas.org>: :> What I would like to ask for is one slight modification. I would like for :> the _return code_ of the program on the end of the pipe to determine whether :> an article was marked as selected, junked or left alone. : :Here's something that should help you out: : : /subject search/:%(%`fgrep -c trn %A`=^0?-:+) : Very nice, although it keeps reminding how Larry Wall must at some point in his life been held tortured by some headhunter whose first language was teco. :-) On the other hand, this has got to be pretty slow, what with an exec for each article. How's strn coming along? Haven't looked at it for a long time. Is it tracking trn? Is it still being updated, maintained, etc? I'd like to be able to farm out the potential articles to an external selector to do smart analysis on them, like the clip program does. I tend to feel that this needs to be done at a granularity greater than one exec per article. I know there was some strn support for Brad Templeton's newsclip system, but I'd love to make my own, given a reasonable API. Anyone have any luck with this? thanks, --tom -- Tom Christiansen Perl Consultant, Gamer, Hiker tchrist@mox.perl.com "Patriotism is the virtue of the vicious." - Oscar Wilde
Technical Details
Message-ID:
<39l9uk$jug@csnews.cs.Colorado.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.readers.mbox.zip!nntp.gmd.de!newsserver.jvnc.net!yale.edu!noc.near.net!paperboy.wellfleet.com!news-feed-1.peachnet.edu!emory!europa.eng.gtefsd.com!howland.reston.ans.net!agate!boulder!csnews!mox!tchristReferences:
<1994Oct22.034720.3265@chemabs.uucp> <Cy2FML.1xK@borland.com>Show Full Headers
Complete Article Headers
Message-ID: <39l9uk$jug@csnews.cs.Colorado.EDU> Subject: Re: Needed: a trn/strn/rn Kill file _CODE_ expert Date: Mon, 07 Nov 1994 13:26:44 +0000 From: Tom Christiansen <tchrist@mox.perl.com> References: <1994Oct22.034720.3265@chemabs.uucp> <Cy2FML.1xK@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!nntp.gmd.de!newsserver.jvnc.net!yale.edu!noc.near.net!paperboy.wellfleet.com!news-feed-1.peachnet.edu!emory!europa.eng.gtefsd.com!howland.reston.ans.net!agate!boulder!csnews!mox!tchrist Newsgroups: news.software.readers Organization: Perl Consulting and Training Lines: 34 Reply-To: tchrist@mox.perl.com (Tom Christiansen) NNTP-Posting-Host: perl.com Originator: tchrist@mox