Path: 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 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