🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #23081

Re: 2 MB? How?

#23081
From: Tom Betz
Date: Tue, 18 Jun 1996 00:00
44 lines
1847 bytes
Quoth mikhail@panix.com (Mikhail Kuperblum) in <4q48lm$78s@panix.com>:
|
|Without looking inside, your .newsrc appears to be so hopelessly out of shape,
|if I were you I'd start it over. It has:
|
|-- 5802 subscribed-to newsgroups (surely you don't read them all)

This remains unchanged...  I always invoke trn with 'trn keyword' to select 
newsgroups I want to read in a session.  Works for me. 

|-- 22 lines > 10000 characters each
|-- 5 lines > 50000 characters
|-- 1 line > 100000 characters

Not any more!

This:

-rw-------  1 tbetz     1535834 Jun 18 08:21 .newsrc~

was turned into this:

-rw-------  2 tbetz      171957 Jun 18 08:23 .newsrc

Here's the script that did it:

#!/bin/sh
cd
mv .newsrc .newsrc~
sed -e 's/\([:!] [0-9]*\).*[,-]/\1-/' <.newsrc~ >.newsrc

Did exactly what I wanted to do.

Thanks to oerjan@lie.matstat.unit.no (Orjan Johansen) for providing it.


-- 
-- Tom Betz ---------- <http://www.pobox.com/tbetz> -------- (914) 375-1510 --
 tbetz@pobox.com  | We have tried ignorance for a very long | tbetz@panix.com
------------------+ time, and it's time we tried education. +-----------------
---------- I mock up my reactive mind seven times before breakfast. ----------

Technical Details
Message-ID: <4q67nc$6n3@panix3.panix.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: <31C02E40.3F62@pobox.com> <4q3s0d$t32@panix.com> <31C58464.6FD6@pobox.com> <4q48lm$78s@panix.com>

Show Full Headers
Complete Article Headers
Message-ID: <4q67nc$6n3@panix3.panix.com>
Subject: Re: 2 MB? How?
Date: Tue, 18 Jun 1996 00:00:00 +0000
From: tbetz@panix.com (Tom Betz)
References: <31C02E40.3F62@pobox.com> <4q3s0d$t32@panix.com> <31C58464.6FD6@pobox.com> <4q48lm$78s@panix.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: 160813943
Organization: Some
Newsgroups: panix.questions,panix.policy,news.software.readers