🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #5181

Re: How can I unsubscribe to everything?

#5181
From: Peter Steele
Date: Mon, 13 Dec 1993 18:21
21 lines
1607 bytes
>>>Edit your .newsrc and change all the ":"'s to "!"'s.

>    this is a good one for crufty sed.  try doing the following:

>    mv .newsrc newsrc-orig
>    sed -e 's/:/!/' newsrc-orig > .newsrc

>if the sed command blows up, just shove a backslash ("\") in before
>the "!".  Then just verify that it works, and remove "newsrc-orig".
>If you prefer a little interaction, the command
>:%s/:/!
>in vi will do the trick, also.

I might as well add my favourite way of doing this:

   perl -pi -e 's/:/!/' .newsrc

Unlike sed, this updates the file in place...
-- 
Peter Steele        Unix Services Manager            peter.steele@acadiau.ca 
Acadia Univ., Wolfville, NS, Canada B0P 1X0  902-542-2201  Fax: 902-542-4364
Technical Details
Message-ID: <1993Dec13.182110.22842@relay.acadiau.ca>
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!gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!usc!elroy.jpl.nasa.gov!swrinde!sgiblab!news.cs.indiana.edu!nstn.ns.ca!dragon.acadiau.ca!dragon.acadiau.ca!peter
References: <soneil.755665917@tyrell.net> <kelly.755668104@icarus.montclair.edu> <soneil.755758207@tyrell.net> <2eh1ol$275@darkstar.UCSC.EDU>

Show Full Headers
Complete Article Headers
Message-ID: <1993Dec13.182110.22842@relay.acadiau.ca>
Subject: Re: How can I unsubscribe to everything?
Date: Mon, 13 Dec 1993 18:21:10 GMT
From: peter@dragon.acadiau.ca (Peter Steele)
References: <soneil.755665917@tyrell.net> <kelly.755668104@icarus.montclair.edu> <soneil.755758207@tyrell.net> <2eh1ol$275@darkstar.UCSC.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!gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!usc!elroy.jpl.nasa.gov!swrinde!sgiblab!news.cs.indiana.edu!nstn.ns.ca!dragon.acadiau.ca!dragon.acadiau.ca!peter
Newsgroups: news.software.nn
Sender: news@relay.acadiau.ca
Nntp-Posting-Host: dragon.acadiau.ca
Organization: Acadia University
Lines: 21