Article View: news.software.nn
Article #6834Re: Using patterns in killfile entries
From: Claus L{gel Rasmussen
Date: Sat, 03 Dec 1994 17:52
Date: Sat, 03 Dec 1994 17:52
60 lines
2442 bytes
2442 bytes
Thus spake Sven Guckes <guckes@inf.fu-berlin.de>: [...] >You cannot use patterns in newsgroup names. (I think) >Thus you must use the full names in killfile entries. >Sven [...] Tadaaa - Sven, read the f...... manual! You certainly _can_ use regular expressions in kill file entries. Extract from nn (6.4.18) manual: < The group name field can have three forms: < < news.group.name < If it is the name of a single news group (e.g. < comp.unix), the entry applies to that group only. < < /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 expres- < sion. < < empty < An empty group field will apply the entry to all < groups. Although this does not explain why preston's [initiator of this thread] kill entry did not work: /.*\.answers:!s:atari According to the manual it _should_ have the desired effect. Though; please check the setting of the "kill" variable (it should be set to true), the "case-fold-search" variable (also set to true) and make sure nn is not called with a -k option. But maybe the superflorious ".*" construct cause trouble; in my personal kill file I am using entries of the following form: /\.msdos:!s:dosshell That is: In all groups matching the ".msdos" pattern delete all "dosshell" references. It works. If you want to dive further into this problem the ":show kill" command and the "kill-debug" (then set to true) variable could be handy. -- Claus L. Rasmussen email: shakti@daimi.aau.dk Knudrisgade 14 B II voice: +45 86 18 42 65 8000 Aarhus C Denmark
Technical Details
Message-ID:
<3bqb98$rm0@belfort.daimi.aau.dk>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!bga.com!news.sprintlink.net!pipex!sunic!news.uni-c.dk!news.daimi.aau.dk!shaktiReferences:
<3bl7c6$105@ec37.residence.gatech.edu> <SNZUBVEO@math.fu-berlin.de>Show Full Headers
Complete Article Headers
Message-ID: <3bqb98$rm0@belfort.daimi.aau.dk>
Subject: Re: Using patterns in killfile entries
Date: Sat, 03 Dec 1994 17:52:40 +0000
From: shakti@daimi.aau.dk (Claus L{gel Rasmussen)
References: <3bl7c6$105@ec37.residence.gatech.edu> <SNZUBVEO@math.fu-berlin.de>
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!bga.com!news.sprintlink.net!pipex!sunic!news.uni-c.dk!news.daimi.aau.dk!shakti
Newsgroups: news.software.nn
Organization: DAIMI, Computer Science Dept. at Aarhus University
Lines: 60
NNTP-Posting-Host: druna.daimi.aau.dk