Article View: news.software.nn
Article #9673Re: How to make my killfile tidy? -> [vi] :g/^# /d
From: Konstantinos Agouros
Date: Mon, 05 Feb 2001 21:21
Date: Mon, 05 Feb 2001 21:21
34 lines
2200 bytes
2200 bytes
In <2001-02-05T14-09-42@guckes.net> guckes@math.fu-berlin.de (Sven Guckes) writes: >* Konstantinos Agouros <elwood@news.agouros.de>: >> I make extensive use of my killfile for threads that do not >> interest me. I usually use the 30day-kill option. Since the file >> is growing I would like to know if there is an easy way to clean >> it of old entries that are long expired or is this done anyway? >I just looked at nn's killfile again ($HOME/.nn/kill) - >all the expired entries are simply commented with "# ". >So it is pretty easy to delete all those lines within vi: > :g/^# /d >Yup, that's it. >So that's what I'd do: > $ cd $HOME/.nn > $ vim -c 'g/^# /d' -c 'wq' kill >A shell alias should suffice for that. >No need for a script. ;-) Thanks for the information I suspected it but wasn't sure \:))) Konstantin >Sven -- Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elwood@agouros.de Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185 ---------------------------------------------------------------------------- "Captain, this ship will not sustain the forming of the cosmos." B'Elana Torres
Technical Details
Message-ID:
<elwood.981408070@news.agouros.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!151.189.0.75!newsfeed.germany.net!blackbush.xlink.net!isar.de!news.agouros.de!elwoodReferences:
<elwood.981196074@news.agouros.de> <2001-02-05T14-09-42@guckes.net>Show Full Headers
Complete Article Headers
Message-ID: <elwood.981408070@news.agouros.de> Subject: Re: How to make my killfile tidy? -> [vi] :g/^# /d Date: Mon, 05 Feb 2001 21:21:35 +0000 From: elwood@news.agouros.de (Konstantinos Agouros) References: <elwood.981196074@news.agouros.de> <2001-02-05T14-09-42@guckes.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!151.189.0.75!newsfeed.germany.net!blackbush.xlink.net!isar.de!news.agouros.de!elwood Newsgroups: news.software.nn Organization: Agouros.de Lines: 33 NNTP-Posting-Host: localhost.agouros.de X-Trace: rumba.localnet. 981408095 930 127.0.0.1 (5 Feb 2001 21:21:35 GMT) X-Complaints-To: elwood@agouros.de NNTP-Posting-Date: 5 Feb 2001 21:21:35 GMT X-Newsreader: NN version 6.5.6 Cache-Post-Path: rumba!unknown@rumba X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/)