Article View: news.software.nn
Article #5303Killing all caps - the answer
From: John De Armond
Date: Sat, 15 Jan 1994 20:26
Date: Sat, 15 Jan 1994 20:26
37 lines
1979 bytes
1979 bytes
Awhile back I asked if anyone had figured out how to kill all messages
with titles in all caps. The reason, of course, is obvious. About
99.995% of all 'all-caps' messages are bozoid, things like MAKE MONEY
FAST. I'm willing to risk the infinitely small possibility that I
might someday miss a legitimate message with an all caps title.
Anyway, the answer came from Nancy McGough. Her message follows:
How about...
:!s/=:^[^a-z]*$
..which means kill (!) all subjects (s) that match the
regular express (/), case sensitive (=). The RE means
anything that starts (^) with anything other than a-z
([^a-z]) followed by arbitrarily many (*) characters
that aren't a-z through the end of the line ($).
The brief test I just did worked!
Enjoy,
Nancy
-------------------------------------------
The above should be placed in your ~/.nn/kill file
She said she posted this solution to this group but I didn't see it and
don't want to risk this solution not getting out. Thanks Nancy! This
solution is working like a champ.
John
--
John De Armond, WD4OQC, Marietta, GA jgd@dixie.com
"Would you fire on US Citizens while in the process of confiscating their guns?"
A question on a survey given to members of the U.S. counterterrorist
unit Navy SEAL Team Six by their commanders last September.
Technical Details
Message-ID:
<pkq3l7c@dixie.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.nn.mbox.zip!gmd.de!newsserver.jvnc.net!yale.edu!nigel.msen.com!usenet.ins.cwru.edu!howland.reston.ans.net!europa.eng.gtefsd.com!emory!rsiatl!jgdShow Full Headers
Complete Article Headers
Message-ID: <pkq3l7c@dixie.com> Subject: Killing all caps - the answer Date: Sat, 15 Jan 1994 20:26:13 +0000 From: jgd@dixie.com (John De Armond) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!newsserver.jvnc.net!yale.edu!nigel.msen.com!usenet.ins.cwru.edu!howland.reston.ans.net!europa.eng.gtefsd.com!emory!rsiatl!jgd Newsgroups: news.software.nn Organization: Dixie Communications Public Access. The Mouth of the South. Lines: 37