Article View: news.software.readers
Article #35076Re: Pattern matching and trn
From: Denis McKeon
Date: Sat, 12 Jul 1997 00:00
Date: Sat, 12 Jul 1997 00:00
80 lines
3050 bytes
3050 bytes
[followup both posted and mailed to poster] In <5q6q0i$7ia$1@joplin.fmed.edu.uy> Santiago wrote: > >I have this problem: > >8<------------------------------------------------------ >misc.test 1 article > >a Santiago 1 44234235235235235 > >/[abcdefghijklmnopqrstuvwxyz]/:= >61 44234235235235235 >Done >8<------------------------------------------------------ > >It should not match a totally numeric subject, should it? Perhaps it is matching on the letters in 'Subject:'? Try matching 'ubj' and see what happens. As for trading killfiles, here's part of what I use as a global trn command (kill) file, parts of which originated from Tim Pierce and Tom Christiansen. See the trn man page for details. Enjoy. &-t X&-t &-hLines X&-hLines X&-OtC #&-OaD # X&-x6slmd # X&-x6nld X&-x6smn # X&-x6s X&-EHIDELINE="^ *[+=\|}:>#\/\\)]..." # X&-EHIDELINE="^[+=\|}:>#\/\\\*]..." # HIDELINE rejects: * - ( &-t # # Kill articles with ESC !! $$ ***** or please read in subject /\|!!\|\$\$\|\*\*\*\*\*\|please read/:j= # Kill articles with no or unwanted subject line /^Subject: *((*None)*\|\bTest\b\|[(<]*No subject[)>]*)* *$/:j= # /Chance.*lifetime\| Don.t miss it/:j= /FREE\|PGG\|MAKE.*MONEY\|MONEY.*FAST\|NEED.*CASH\|, *000\|0000\|MILLION/:j= /GUARANT\|CREDIT REPAIR\|LONELY\|IMMEDIATE.*PROFITS\|MESSAGE.*LOVE/:j= /TRAVEL.*WORLD\|URGENT.*PETITION\|CONTEST\|WORK.*HOME\|SPARE.*TIME/:j= /ADULTS ONLY- Check this out/:j:= /ADULT\|NAKED\|CHEAP.*PHONE.*INTERNATION\|FABULOUS.*INCOME\|READ THIS/:j= /Advertise Your Product\|Mailloop\|Send Bulk Email/:j= # # endless sex ads /(School\|blowjob\|Girl\|young\|hot\|Teen\|tight\|twat\|anal\|gay\pics)\.jpg/:j= /\.(jpg\|gif\|wav)/:j= # /good.*site\|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= /http:\|\bhref\b\|\.html\b/ # # 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 &+t / alt\..* alt\..* alt\./HXref:j= # # Kill articles with blatantly broken From: addresses # /^[^@]*$\|Fullname\|Real Name\|username/f:j:= -- Denis McKeon
Technical Details
Message-ID:
<5q844v$7vc$1@sloth.swcp.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-mailReferences:
<5q6q0i$7ia$1@joplin.fmed.edu.uy>Show Full Headers
Complete Article Headers
Message-ID: <5q844v$7vc$1@sloth.swcp.com> Subject: Re: Pattern matching and trn Date: Sat, 12 Jul 1997 00:00:00 +0000 From: Dmckeon@swcp.com (Denis McKeon) References: <5q6q0i$7ia$1@joplin.fmed.edu.uy> 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: 256402697 X-Original-Newsgroups: news.software.readers Organization: Connemara - Computing for People - ABQ/NM/USA Newsgroups: news.software.readers X-Copyright: Copyright 1997 by Denis McKeon Originator: dmckeon@llama.swcp.com