Article View: news.software.readers
Article #9466Re: Is it possible to have rn read from a compressed .newsrc file?
From: Sridhar Venkataraman
Date: Thu, 09 Jun 1994 18:28
Date: Thu, 09 Jun 1994 18:28
27 lines
1674 bytes
1674 bytes
lmbutler@crl.com (Lawrence Butler) writes: | Having a large .newsrc file and having to erase an equally large | .oldnewsrc file is a real pain. Would it be possible to tweak | rn so it can read a gzipped .newsrc with lets say... zcat or some | other method? Unless you are Kibo/Larry Wall, I don't really think you would want to hang around subscribing to zillion groups. So in the absence of any statements from you towards that end, I am assuming that you have both subscribed and unsubscribed newsgroups in your newsrc. In that case, something like this from csh: % sed 's/\!/d' ~/.newsrc > ~/.newsrc.unsub % mv ~/.newsrc.unsub ~/.newsrc will clean up the newsrc. If you are subscribing to too many groups and want it compressed, you would need to write up a shell script like: #!/bin/sh gunzip $HOME/.newsrc.gz trn (or rn) gzip $HOME/.newsrc Sridhar.
Technical Details
Message-ID:
<sridhar.09Jun94.112929@homecheese.eas.asu.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!usc!howland.reston.ans.net!gatech!asuvax!ennews!n-f-mReferences:
<2t58bd$4rf@crl.crl.com>Show Full Headers
Complete Article Headers
Message-ID: <sridhar.09Jun94.112929@homecheese.eas.asu.edu> Subject: Re: Is it possible to have rn read from a compressed .newsrc file? Date: Thu, 9 Jun 1994 18:28:16 GMT From: sridhar@asuvax.eas.asu.edu (Sridhar Venkataraman) References: <2t58bd$4rf@crl.crl.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!usc!howland.reston.ans.net!gatech!asuvax!ennews!n-f-m Newsgroups: news.software.readers Sender: news@ennews.eas.asu.edu (USENET News System) Nntp-Posting-Host: homecheese.eas.asu.edu Organization: Arizona State University, Tempe AZ Lines: 27