🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by John De Armond Sat, 15 Jan 1994 20:26
Killing all caps - the answer
#5303
Author: John De Armond
Date: Sat, 15 Jan 1994 20:26
37 lines
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.
Re: Killing all caps - the answer
#5317
Author: Snakes of Medusa
Date: Mon, 17 Jan 1994 14:13
19 lines
1365 bytes
In article <pkq3l7c@dixie.com>, John De Armond <jgd@dixie.com> wrote:
>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 ($).  

I have vague niggles regarding postings which have only a number as
the title, but...


mathew
-- 
I have a flawless philosophical and scientific model of reality.  
Unfortunately, it's actual size.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads