Article View: news.software.readers
Article #35127Re: Pattern matching and trn
From: Santiago
Date: Mon, 14 Jul 1997 00:00
Date: Mon, 14 Jul 1997 00:00
44 lines
1862 bytes
1862 bytes
In article <5q844v$7vc$1@sloth.swcp.com>, Denis McKeon <Dmckeon@swcp.com> wrote: >[followup both posted and mailed to poster] Didn't got it; seems that my UUCP connection is mostly broken for mails :(. >>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. Thanks, that was it. I had assumed it stripped the header. Live'n learn. > >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. (cool global KILL snipped) Wow. You covered most of my killfile. My contributions: # Stop newsgroup bombing i.e. Silly subject (0001/1708).. ad nauseaum /([0-9][0-9][0-9][0-9]\/[0-9][0-9][0-9][0-9])$/:j= /([0-9][0-9][0-9]\/[0-9][0-9][0-9])$/:j= # Filter phone ads. /1[^0-9][89]0[09][^0-9][0-9]/:j= # Only do this if you aren't on a modem connection! Same pattern as # before, but searches through the entire article. Overview won't save # you. /1[^0-9][89]0[09][^0-9][0-9]/a:j= -- UUCP link under construction. You can reach me at arraga(at)hc.edu.uy
Technical Details
Message-ID:
<5qdpip$g0$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-mailReferences:
<5q6q0i$7ia$1@joplin.fmed.edu.uy> <5q844v$7vc$1@sloth.swcp.com>Show Full Headers
Complete Article Headers
Message-ID: <5qdpip$g0$1@joplin.fmed.edu.uy> Subject: Re: Pattern matching and trn Date: Mon, 14 Jul 1997 00:00:00 +0000 From: tach@joplin.fmed.edu.uy (Santiago) References: <5q6q0i$7ia$1@joplin.fmed.edu.uy> <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-mail X-Deja-AN: 256884118 X-Listening-While-Composing: Paranoia - Black Sabbath Organization: None. Newsgroups: news.software.readers