Article View: news.software.readers
Article #2717Re: Various Filtering via TRN -- possible? how?
From: Sridhar Venkataraman
Date: Thu, 10 Dec 1992 15:21
Date: Thu, 10 Dec 1992 15:21
41 lines
1961 bytes
1961 bytes
dhartung@chinet.chi.il.us writes: )Well, okay, it's my own fault. I didn't carefully peruse the )Followupto line, and I got my article crossposted to misc.test. [...] )So is there a way to make TRN smart enough to eliminate misc.test )from my Newgroups line? Or some other behavior which would have )equivalent results, e.g. my not getting a zillion "Your test )received here" responses. There is. Sorry about not offering a polished one but it should give you something to think about. This should go into the file defined by the env. var. RNINIT. -ENEWSHEADER="\ From: sridhar@asuvax.eas.asu.edu (%N) Subject: Re: %S References: %R Distribution: %D Organization: %o Newsgroups: %(%F=.*misc.test.*?:%F) " Here is a similar one for the '=' command which is in the init files of countless number of people using rn/trn. Just to give an idea what regular expressions can do. Anybody remembers who the original author is? -ESUBJLINE="\ %(%(%[from]=(\\(.*[^ ].*\\))$?\ %1:%[from]) =^\\(...............\\)?%1) \ (%( %[lines]=\\(....\\)$?%1)) \ %(%[subject]=^\\(...................................................\\)?\ %1:%[subject])" Sridhar. -- Sridhar Venkataraman sridhar@asuvax.eas.asu.edu
Technical Details
Message-ID:
<1992Dec10.152141.22728@ennews.eas.asu.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!sparky!uunet!wupost!gumby!destroyer!ncar!noao!asuvax!ennews!newsReferences:
<Bz0Irx.2L6@chinet.chi.il.us>Show Full Headers
Complete Article Headers
Message-ID: <1992Dec10.152141.22728@ennews.eas.asu.edu> Subject: Re: Various Filtering via TRN -- possible? how? Date: Thu, 10 Dec 1992 15:21:41 GMT From: sridhar@asuvax.eas.asu.edu (Sridhar Venkataraman ) References: <Bz0Irx.2L6@chinet.chi.il.us> 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!sparky!uunet!wupost!gumby!destroyer!ncar!noao!asuvax!ennews!news Newsgroups: news.software.readers Sender: news@ennews.eas.asu.edu (USENET News System) Organization: Arizona State University, Tempe AZ Lines: 41