🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #4578

Re: automatically subscribing

#4578
From: Jeff Sandler
Date: Wed, 28 Jul 1993 20:47
24 lines
1558 bytes
nancym@stein2.u.washington.edu (Nancy McGough) writes:

>tlb@carson.u.washington.edu (Todd L. Brooks) writes:
>>Is there a way to automatically subscribe to all the news groups with a
>>certain prefix (such as all the comp.sys groups) without individually
>>subscribing to all of them?

>Here's one way -- I'd love to hear of an easier way...

How about this?

sed -e 's/^\(comp\.sys\.[^:!]*\)[:!]/\1:/' .newsrc > .newstemp
<check .newstemp to make sure it looks good>
mv .newstemp .newsrc

Note that if you're in csh, or some other shells, you need to escape the
!..so you end up with
sed -e 's/^\(comp\.sys\.[^:\!]*\)[:\!]/\1:/' .newsrc > .newstemp


-- 
Jeff Sandler                       Florida State, C/O '95
jsandler@encore.com will only be active until August 13.  My new
address is sandler@xi.cs.fsu.edu.
Technical Details
Message-ID: <CAw73t.9Kz@encore.com>
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!noc.near.net!uunet!news.encore.com!jsandler
References: <236cdd$2eu@news.u.washington.edu> <236kr6$5k3@news.u.washington.edu>

Show Full Headers
Complete Article Headers
Message-ID: <CAw73t.9Kz@encore.com>
Subject: Re: automatically subscribing
Date: Wed, 28 Jul 1993 20:47:51 GMT
From: jsandler@encore.com (Jeff Sandler)
References: <236cdd$2eu@news.u.washington.edu> <236kr6$5k3@news.u.washington.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!noc.near.net!uunet!news.encore.com!jsandler
Newsgroups: news.software.nn
Organization: Encore Computer Corporation
Sender: news@encore.com (Usenet readnews user id)
Nntp-Posting-Host: sysgem1.encore.com
Lines: 24