Article View: news.software.readers
Article #36738Re: trn: Killing posts with all-caps subjects?
From: John W Stuart
Date: Wed, 22 Oct 1997 00:00
Date: Wed, 22 Oct 1997 00:00
34 lines
1502 bytes
1502 bytes
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. Howdy, 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. I also use: /xref:.*:.*:.*:.*:.*:/Hxref:j to kill postings with lots of crossposts. Hope this helps. Later, John W Stuart stuart@bch48.bch.ncsu.edu
Technical Details
Message-ID:
<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-mailReferences:
<driptonEIDA3F.FJ@netcom.com>Show Full Headers
Complete Article Headers
Message-ID: <62l0kn$s67$1@uni00nw.unity.ncsu.edu> Subject: Re: trn: Killing posts with all-caps subjects? Date: Wed, 22 Oct 1997 00:00:00 +0000 From: stuart@miranda.tempest.com (John W Stuart) References: <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-mail X-Deja-AN: 282426515 Organization: bch Newsgroups: news.software.readers