Article View: news.software.nn
Article #6933Re: Semi-newbie needs kill help
From: Mike Zorn
Date: Tue, 27 Dec 1994 05:41
Date: Tue, 27 Dec 1994 05:41
31 lines
2460 bytes
2460 bytes
In <3dj2b2$mmv@usenet.ucs.indiana.edu> alasnik@nickel.ucs.indiana.edu (Adam Lasnik) writes:
>In <W7NVBZ8M@math.fu-berlin.de> Sven Guckes <guckes@inf.fu-berlin.de> writes:
[some stuff deleted]
>>From the manual about newsgroups in a killfile entry:
>> /regular expression
>> If it starts with a slash `/' followed by a regular
>> expression (e.g. /^news\..*), the entry applies to all
>> groups whose name are matched by the regular expression.
>>Let`s see: "/\.picture:!s:help" should work then. Haven`t tried it yet.
>>Could anyone confirm whether it works?
> I'm used to the
>clunky but simple DOS rules. *=wildcard ending... ?=wildcard character.
>This UNIX stuff has me baffled. I suppose, of course, I just oughtta
>bite the bullet and learn a bit more UNIX expression stuff, but since it
Not all that hard, really:
>> expression (e.g. /^news\..*), the entry applies to all
!...says: look for 'news' in column 1
>>Let`s see: "/\.picture:!s:help" should work then.
!!... a dot (.) says: match any character, so if you
want to match a dot, you have to "escape" the dot with a \.
So /.picture would match 'spicture, epicture, even .picture
But /\.picture would only match '.picture'
I don't blame you for being puzzled after reading about regular
expressions - it's one of the more difficult aspects to understand.
You really have to work with it for a while to get it to sink in.
Luckily, you only need a little bit of it for what you want to do.
Could you post when you finally get it to work?
Technical Details
Message-ID:
<ozma.788506308@kaiwan009>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!nntp.gmd.de!Germany.EU.net!howland.reston.ans.net!agate!library.ucla.edu!csulb.edu!nic-nac.CSU.net!newsserver.sdsc.edu!acsc.com!kaiwan.kaiwan.com!kaiwan009!ozmaReferences:
<3di57k$7pt@usenet.ucs.indiana.edu> <W7NVBZ8M@math.fu-berlin.de> <3dj2b2$mmv@usenet.ucs.indiana.edu>Show Full Headers
Complete Article Headers
Message-ID: <ozma.788506308@kaiwan009> Subject: Re: Semi-newbie needs kill help Date: Tue, 27 Dec 1994 05:41:19 +0000 From: ozma@kaiwan009.kaiwan.com (Mike Zorn) References: <3di57k$7pt@usenet.ucs.indiana.edu> <W7NVBZ8M@math.fu-berlin.de> <3dj2b2$mmv@usenet.ucs.indiana.edu> 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!nntp.gmd.de!Germany.EU.net!howland.reston.ans.net!agate!library.ucla.edu!csulb.edu!nic-nac.CSU.net!newsserver.sdsc.edu!acsc.com!kaiwan.kaiwan.com!kaiwan009!ozma Newsgroups: news.software.nn Organization: Kaiwan, a PGP (Pretty Good Provider) Lines: 31 NNTP-Posting-Host: kaiwan009.kaiwan.com