🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #28064

Re: Like trn, but without .newsrc?

#28064
From: E.
Date: Tue, 03 Dec 1996 00:00
30 lines
1724 bytes
Charles Packer <packer@cais.cais.com> wrote:
> 
> Now that I get only five megabytes of disk space free from
> my Internet service provider, it's come to my attention that
> with 18,000 newsgroups, the .newsrc file is a half megabyte.
> Combined with .oldnewsrc, that's a whole megabyte, or 20%
> of my free space!

Assuming that you want to stick with trn, and that you have perl on your
system, try typing this, from a shell prompt:

mv ~/.newsrc ~/.newsrc.backup
perl -e 'while (<>) {print unless /\!/}' < ~/.newsrc.backup > ~/.newsrc

If something goes wrong, you can always do 'mv ~/.newsrc.backup ~/.newsrc'
to recover.

And I THINK (but am not enough of a trn expert to state definitively) that
you can remove .oldnewsrc and it will get recreated.

-E (who knows about perl's -i flag, but isn't sure how to use it, really)

-- 
PGP Public Key Fingerprint: BE FC C5 FB 30 47 E5 5C  DC DF C3 C0 AD A5 27 17
Homepage: http://www.primenet.com/~fnargle/erisson/   PGP Key available here
"Every day is like burning paper."  --Slimebard
"You have *not* 'plonked' me!"  --Mario1

Technical Details
Message-ID: <slrn5a9j0q.18d.erisson@kallisti.sw-tech.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.mbox.zip!not-for-mail
References: <5818su$e6c@news2.cais.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn5a9j0q.18d.erisson@kallisti.sw-tech.com>
Subject: Re: Like trn, but without .newsrc?
Date: Tue, 03 Dec 1996 00:00:00 +0000
From: erisson@kallisti.sw-tech.com (E.)
References: <5818su$e6c@news2.cais.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.mbox.zip!not-for-mail
X-Deja-AN: 202192825
Organization: SW!-TECH Information Services
X-posted-by: erisson@206.165.17.236 (fnargle)
Newsgroups: news.software.readers