Apur-ee.217
net.general
utcsrgv!utzoo!decvax!pur-ee!ks
Fri Feb  5 03:06:51 1982
2nd Followup on long .newsrc files
On advice from ucbvax!peter, I admit that my previous method suggested for
getting rid of long .newsrc files was a bit crude and non-hacker-like.
On his prompting, I am suggesting a Bourne shell file "clean.news" which
will accomplish the same thing in a much cleaner fashion.
The text follows:

ed - .newsrc > /dev/null <<! ! 2,\$D N Q W | YES READNEWS> /dev/null

You might want to fork this one off in the background.  On a DUAL VAX 11/780,
it took almost 4 minutes to run with only 35 people logged on.  It took about
2 minutes CPU time.  But it sure cleans up your .newsrc file faster than you
could do it by hand.....

                                       Kirk Smith
                                       Purdue University

-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <[email protected]>
of http://communication.ucsd.edu/A-News/


This Usenet Oldnews Archive
article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.