🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #9116

Re: Condensing newsrc

#9116
From: Claude H. Wilder
Date: Sat, 21 May 1994 09:15
17 lines
1399 bytes
In article <hal9001.1119896073G@news.panix.com>,
Robert A. Rosenberg <hal9001@panix.com> wrote:
>In Article <sputzCq36H5.rF@netcom.com>, sputz@netcom.com (Spammo Biff) wrote:
>>My .newsrc has gotten huge with lots of post numbers after each group I read
>>Is there anyway to condense this information? It seems it would
>>be more efficient to indicate 1-20083 instead of 
>>1-19926,19928-19978,19980-20083 

Try this simple shell script to clean you .newsrc

-------------8<---cut here--->8-------------------
#!/bin/sh
sed '/!/s/[-,][-,0-9]*[-,]/-/' < ${HOME}/.newsrc > ${HOME}/.tmpnewsrc
mv ${HOME}/.newsrc ${HOME}/.oldnewsrc
mv ${HOME}/.tmpnewsrc ${HOME}/.newsrc

 
Technical Details
Message-ID: <2rkjfv$hj@nova.umd.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.readers.mbox.zip!bga.com!news.sprintlink.net!hookup!europa.eng.gtefsd.com!news.umbc.edu!haven.umd.edu!nova.umd.edu!not-for-mail
References: <sputzCq36H5.rF@netcom.com> <hal9001.1119896073G@news.panix.com>

Show Full Headers
Complete Article Headers
Message-ID: <2rkjfv$hj@nova.umd.edu>
Subject: Re: Condensing newsrc
Date: Sat, 21 May 1994 09:15:43 +0000
From: wilder@nova.umd.edu (Claude H. Wilder)
References: <sputzCq36H5.rF@netcom.com> <hal9001.1119896073G@news.panix.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.readers.mbox.zip!bga.com!news.sprintlink.net!hookup!europa.eng.gtefsd.com!news.umbc.edu!haven.umd.edu!nova.umd.edu!not-for-mail
Newsgroups: news.software.readers
Organization: University of Maryland University College
Lines: 19
NNTP-Posting-Host: nova.umd.edu