🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Benjamin Lorenz Mon, 25 Nov 1996 00:00
Kill file question for trn
#27923
Author: Benjamin Lorenz
Date: Mon, 25 Nov 1996 00:00
22 lines
910 bytes
Huhu

can somebody tell me a regular expression that hits all subject lines
which contain _no_ lower case characters, like

 !!! FREE NUDE PICTURES !!!

or

 $$$$ BIG MONEY, NO RISK, READ NOW!!! $$$$


Thanks! ;)

Benni
-- 
      /'^'\
     ( o o )          Benjamin Lorenz, Saarbruecken
-oOOO--(_)--OOOo----  benni@phil.uni-sb.de, 0681/372253

Re: Kill file question for trn
#27926
Author: Terje Bless
Date: Mon, 25 Nov 1996 00:00
18 lines
1132 bytes
In article <57c8a3$sg6@pf1.phil.uni-sb.de>, benni@phil.uni-sb.de (Benjamin
Lorenz) wrote:

|can somebody tell me a regular expression that hits all subject lines
|which contain _no_ lower case characters

Try "^[^a-z]*$" whitout the quotes (") of course..

Disclaimer: I'm not familiar with trn's particular brand of regex,
            but that one should be pretty close. RTFM and modify
            until it fits your needs.

-- 
Party? Party, lord? Yes, lord. Right away, lord.
        - Beopunk Cyberwulf

Re: Kill file question for trn
#27936
Author: Benjamin Lorenz
Date: Tue, 26 Nov 1996 00:00
17 lines
968 bytes
Denis McKeon <dmckeon@swcp.com> wrote:

>Here are 24 lines of trn command file that will save you some time - 
>flavor to suit your tastes.

Thanks a lot! More than 50% articles less in some newsgroups!
But... you forgot this:

/try this.*will work/:j=

:-)
Benni
-- 
Wo die Liebe hinf�llt, w�chst kein Gras mehr. Nur noch Bl�mchen.

Re: Kill file question for trn
#27939
Author: Denis McKeon
Date: Tue, 26 Nov 1996 00:00
44 lines
2169 bytes
[followup both posted and mailed to poster]

In <57c8a3$sg6@pf1.phil.uni-sb.de> benni@phil.uni-sb.de wrote:
>Huhu
>
>can somebody tell me a regular expression that hits all subject lines
>which contain _no_ lower case characters, like
>
> !!! FREE NUDE PICTURES !!!
> $$$$ BIG MONEY, NO RISK, READ NOW!!! $$$$

Here are 24 lines of trn command file that will save you some time - 
flavor to suit your tastes.

# Kill articles with !! $$ ***** or please read in subject
/\|!!\|\$\$\|\*\*\*\*\*\|please read/:j=
# Kill articles with no or unwanted subject line
/^Subject: *((*None)*\|\bTest\b\|[(<]*No subject[)>])* *$/:j=
#
/FREE\|PGG\|MAKE.*MONEY\|MONEY.*FAST\|NEED.*CASH\|, *000\|MILLION/:j=
/GUARANT\|CREDIT REPAIR\|LONELY\|IMMEDIATE.*PROFITS\|MESSAGE.*LOVE/:j=
/TRAVEL.*WORLD\|URGENT.*PETITION\|CONTEST\|WORK.*HOME\|SPARE.*TIME/:j=
/NAKED\|CHEAP.*PHONE.*INTERNATION\|FABULOUS.*INCOME\|READ THIS/:j=
&+t
/my.*page\|new home page\|new *web *site\|new *site/:j=
# Kill other articles with all caps subject lines
/^Subject:[Re: ]*[^a-z]*$/c:j=
#
# W R I T T E N   L I K E   T H I S
/ [^ ] [^ ] [^ ] [^ ] [^ ] [^ ]/:j=
#
# 6 colons -> cross-posted to 5 or more groups
# Xref: server g1:N g2:N g3:N  ...
/:.*:.*:.*:.*:.*:/HXref:,=
#
# cross-posted to N or more alt.* groups existing on this server
/ alt\..* alt\..* alt\./HXref:j=

-- 
Denis McKeon 
dmckeon@swcp.com

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