Article View: news.software.readers
Article #36756Re: trn: Killing posts with all-caps subjects?
From: David Ripton
Date: Thu, 23 Oct 1997 00:00
Date: Thu, 23 Oct 1997 00:00
45 lines
2176 bytes
2176 bytes
In article <62l0kn$s67$1@uni00nw.unity.ncsu.edu>, John W Stuart <stuart@miranda.tempest.com> wrote: >According to David Ripton <dripton@netcom.com>: >>I've read the trn man page, the trn FAQ, and the rn killfile >>FAQ. This shouldn't be hard, but I can't get it to work. >> >>I want to globally kill any article with an all-caps subject. >>More precisely, I'd like to globally kill any article whose >>subject line doesn't include at least one lowercase letter. >> >>The obvious regexp syntax is: >>/^[^a-z]*$/c:j >> >>But it doesn't work. That syntax does work with grep, so >>I've clearly hit upon a difference in the way trn's regular >>expressions work compared to those in some other Unix >>programs. >I use /^Subject[: Re]*[^a-z]*$/c:j to kill subjects with all CAPS. >Someone in this group posted it. It seems to work but I haven't really >tested it. Yeah, that's it. I was missing the fact that the lowercase letters in the word "Subject" were causing everything to pass my filter. Thanks to everyone who pointed this out to me. >I also use: >/xref:.*:.*:.*:.*:.*:/Hxref:j >to kill postings with lots of crossposts. I look for a single comma in the Newsgroups line, and then nuke the post and its followups. /,/Hnewsgroups:, Draconian, as it cuts out the wee bit of crossposted signal along with tons of noise, but it's not like I don't have enough news to read. Thanks again. -- David Ripton dripton@netcom.com spamgard(tm): To email me, put "geek" in your Subject line.
Technical Details
Message-ID:
<driptonEIIFHE.1x3@netcom.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<driptonEIDA3F.FJ@netcom.com> <62l0kn$s67$1@uni00nw.unity.ncsu.edu>Show Full Headers
Complete Article Headers
Message-ID: <driptonEIIFHE.1x3@netcom.com> Subject: Re: trn: Killing posts with all-caps subjects? Date: Thu, 23 Oct 1997 00:00:00 +0000 From: dripton@netcom.com (David Ripton) References: <driptonEIDA3F.FJ@netcom.com> <62l0kn$s67$1@uni00nw.unity.ncsu.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 282645994 Sender: dripton@netcom15.netcom.com Reply-To: dripton@netcom.com Newsgroups: news.software.readers