Re: Souper vs. "doing it the old-fashioned way"

Mark (woody@interactive.remove.this.net)
Sat, 07 Dec 1996 15:09:38 -0600

In article <P0MqyUNOfO5S092yn@wwa.com>,
debraw@wwa.com (Debra Walker) said something like:
>On Thu, 05 Dec 1996 17:32:52 -0800,
>in article<Ef3py0O5IMiP091yn@teleport.com>,
>larryc@teleport.com (Larry Caldwell) wrote:
[snip]
>>
>>grep : .newsrc > news.rc
>>mv .newsrc newsrc.old
>>mv news.rc .newsrc
>>
>>will strip all unsubscribed newsgroups out of your .newsrc. This is
>
>Recently, I saw a similar set of unix commands for the same process,
>posted by Kevin Martin in one of the Usenet newsgroups:
>
>In article <F21nyU0cGRmY092yn@access.digex.net>,
>Ed Tuthill <bishop@access.digex.net> wrote:
>>The use of trnkill necessitates asking this question again:
>>
>>Does uqwk still have a problem with core dumps when lines in the .newsrc
>>file get too long? I noticed things being a severe problem even without
>>using trnkill, when messages were crossposted badly and lines in the
>>.newsrc file became several hundred lines long.
>
>Someone had a patch to increase the size of somee buffer, but that
>only postpones the problem. I find it much easier to grep away the
>groups I'm not subscribed to and thus eliminate the problem once
>and for all:
>
> grep ":" .newsrc > newnews && mv newnews .newsrc
>
>Does this command line (above) essentially do the same thing as the
>ones that you posted? Thanks, in advance, for any information that you
>can provide.

Not quite. The multi-line set of commands above will create a backup of the
.newsrc file after you create the new .newsrc. The single line command will
replace your current ,newsrc file without creating a backup. If you don't
need to go back and look at your old .newsrc at any time, then the single
line command should work fine for you.

>
>Debra Walker

--
Mark                woody@interactive.net      mw4j@andrew.cmu.edu
******************************************************************
Created using Yarn version 0.92 on Dec 07, 1996
Additional effects by YES version 0.22
******************************************************************