Article View: news.software.readers
Article #36721trn: Killing posts with all-caps subjects?
From: David Ripton
Date: Mon, 20 Oct 1997 00:00
Date: Mon, 20 Oct 1997 00:00
27 lines
1349 bytes
1349 bytes
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. Is there an alternative syntax that works? I'm using trn 3.5, if it matters, but I can upgrade to a 4.0 beta if it makes a difference. Thanks. -- David Ripton dripton@netcom.com spamgard(tm): To email me, put "geek" in your Subject line.
Technical Details
Message-ID:
<driptonEIDA3F.FJ@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-mailShow Full Headers
Complete Article Headers
Message-ID: <driptonEIDA3F.FJ@netcom.com> Subject: trn: Killing posts with all-caps subjects? Date: Mon, 20 Oct 1997 00:00:00 +0000 From: dripton@netcom.com (David Ripton) 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: 282039640 Sender: dripton@netcom15.netcom.com Reply-To: dripton@netcom.com Newsgroups: news.software.readers