🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #226353

Re: List of groups

#226353
From: »Q«
Date: Fri, 26 Sep 2008 02:14
36 lines
2520 bytes
On Thu, 25 Sep 2008 20:02:54 -0500
Sqwertz <swertz@cluemail.compost> wrote:

> Peter J Ross <pjr@example.invalid> wrote:
> 
> > In news.software.readers on Thu, 25 Sep 2008 07:13:37 +0000 (UTC),
> > Bob Cortopassi <bobernet@nsa.invalid> wrote:
> > 
> >> On 2008-09-24, Sqwertz <swertz@cluemail.compost> wrote:
> >>>
> >>> Shouldn't you just be able to put a colon after the newsgroup name
> >>> and rename it to ~/.newsrc?  Or does slrn use a non-standard
> >>> .newsrc?
> >>
> >> Yes.  Scripting gyrations are not necessary.
> > 
> > A script isn't necessary, but automating the process of subscribing
> > to new interesting groups from a list compiled elsewhere could be
> > useful.
> >
> > Anyway, I haven't written a script yet, but I'll do so eventually,
> > if only becuase I'd learn from attempting it.
> 
> I don't want to keep you from learning anything new, but this 
> is the 'script':
> 
> $ cat listofnewgroups | sed 's/$/:' >> ~/.jnewsrc
> 
> ..outghta do the trick.  My sed is a pretty rusty.  Somebody will
> correct me if I'm wrong (this is Usenet after all ;-)

The s command has to be terminated, and sed will take the file as an
argument, so you don't have to cat and pipe it.

$ sed 's/$/:/' listofgroups >> ~/.jnewsrc
Technical Details
Message-ID: <20080925211410.38a117a8@bellgrove.remarqs.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <slrngdgdbv.uh3.john@localhost.localdomain> <slrngdi8s2.f8i.pjr@pjr.motzarella.org> <gbbjr2$f45$1@registered.motzarella.org> <slrngdinvi.f8i.pjr@pjr.motzarella.org> <230908.194601nsr92.353@sqwertz.com> <gbfdn0$hts$1@registered.motzarella.org> <slrngdnrbp.81n.pjr@pjr.motzarella.org> <250908.200254nsr93.805@sqwertz.com>

Show Full Headers
Complete Article Headers
Message-ID: <20080925211410.38a117a8@bellgrove.remarqs.net>
Subject: Re: List of groups
Date: Thu, 25 Sep 2008 21:14:10 -0500
From: »Q« <boxcars@gmx.net>
References: <slrngdgdbv.uh3.john@localhost.localdomain> <slrngdi8s2.f8i.pjr@pjr.motzarella.org> <gbbjr2$f45$1@registered.motzarella.org> <slrngdinvi.f8i.pjr@pjr.motzarella.org> <230908.194601nsr92.353@sqwertz.com> <gbfdn0$hts$1@registered.motzarella.org> <slrngdnrbp.81n.pjr@pjr.motzarella.org> <250908.200254nsr93.805@sqwertz.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: none
Lines: 36
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Trace: individual.net rD14PQewhWhPsD3G93r0QwMEnSV+GGRUj2aVp+WhdvtGE0gCHF
X-Orig-Path: bellgrove.remarqs!not-for-mail
Cancel-Lock: sha1:RAggCwcSh3wgMALjcnZPHOtGZOs=
X-Newsreader: Claws Mail 3.5.0 (GTK+ 2.12.11; i686-pc-linux-gnu)