🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.b
Article #6964

Re: Long lines in .newsrc

#6964
From: Amos Shapir
Date: Sat, 17 Feb 1990 00:49
22 lines
1251 bytes
There's no patch to rn, but it can be easily fixed by a small command
file which was posted here a few months ago:
---------------------------------------------------
#!/bin/sh
# Usage: shrink.newsrc
#
# Shrink out all the commas in unsubscribed to groups.
#	(i.e. mark skipped articles as read)

cp $HOME/.newsrc o.newsrc
sed < $HOME/.newsrc 's/^\([^!]*![^,-]*\).*[,-]\(.*\)/\1-\2/' > /tmp/newsrc$$ &&
mv /tmp/newsrc$$ $HOME/.newsrc
ls -l o.newsrc $HOME/.newsrc
---------------------------------------------------
There was also a companion program sort.newsrc which sorts .newsrc
into any desirable order.

-- 
	Amos Shapir
National Semiconductor, 2900 semiconductor Dr.
Santa Clara, CA 95052-8090  Mailstop E-280
amos@nsc.nsc.com or amos@taux01.nsc.com 
Technical Details
Message-ID: <13612@nsc.nsc.com>
Path: arc1-ca.pugleaf.net!utzoo!utstat!helios.physics.utoronto.ca!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!usc!elroy.jpl.nasa.gov!decwrl!ucbvax!hplabs!nsc!amos
References: <1990Feb16.224024.18225@ucselx.sdsu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utstat!helios.physics.utoronto.ca!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!usc!elroy.jpl.nasa.gov!decwrl!ucbvax!hplabs!nsc!amos
From: amos@nsc.nsc.com (Amos Shapir)
Newsgroups: news.software.b
Subject: Re: Long lines in .newsrc
Message-ID: <13612@nsc.nsc.com>
Date: 17 Feb 90 00:49:25 GMT
References: <1990Feb16.224024.18225@ucselx.sdsu.edu>
Distribution: na
Organization: National Semiconductor, Santa Clara
Lines: 22
X-Hdate: 21 Shvat 5750