Article View: news.software.nn
Article #3822Re: Unsub to all groups?
From: Sven Guckes
Date: Mon, 01 Mar 1993 19:23
Date: Mon, 01 Mar 1993 19:23
24 lines
1791 bytes
1791 bytes
jcblac00@nx21.mik.uky.edu (james c black) writes:
>Is there any way to unsubscribe to all newsgroups?
>By default, nn has subscribed me to a zillion groups and
>I can't stand hitting U to unsubscribe to each one individually.
The newsrc file ($HOME/.newsrc) contains the information about the newsgroups,
their (un)subscribed status and the numbers of the already read articles.
A colon (':') indicates a subscribed group, and an exclamation mark ('!')
indicates an unsubscribed group.
All you need to do for unsubscribing to all newsgroups is to edit the newsrc.
Of course you can do this with your favourite editor.
If you have the 'stream editor' "sed" then you can also do it this way:
sed -e 's/:/!/' ~/.newsrc > newsrc.all.unsubscribed
This tells sed to 's'earch for the first ':' and to replace it with a '!'
in each line of the file "~/.newsrc" and to put the result into the file
"newsrc.all.unsubscribed".
Now all you have to do is to replace your newsrc with "newsrc.all.unsubscribed":
mv newsrc.all.unsubscribed ~/.newsrc
Sven :)
Technical Details
Message-ID:
<C07ABRQT@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!sparky!uunet!math.fu-berlin.de!guckesReferences:
<jcblac00.730873175@mik.uky.edu>Show Full Headers
Complete Article Headers
Message-ID: <C07ABRQT@math.fu-berlin.de> Subject: Re: Unsub to all groups? Date: Mon, 1 Mar 1993 19:23:50 GMT From: guckes@math.fu-berlin.de (Sven Guckes) References: <jcblac00.730873175@mik.uky.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!sparky!uunet!math.fu-berlin.de!guckes Newsgroups: news.software.nn Originator: guckes@medusa Keywords: nn unsubscribe Sender: news@math.fu-berlin.de (Math Department) X-Mail-Reader: Elm 2.4 PL21 Organization: Free University of Berlin, Germany X-News-Reader: NN 6.4.13 Lines: 24