Article View: news.software.readers
Article #10772Re: How do you sort the .newsrc file
From: Jeffrey Hurwit
Date: Fri, 12 Aug 1994 07:30
Date: Fri, 12 Aug 1994 07:30
18 lines
1460 bytes
1460 bytes
In article <1994Aug2.124727.15177@chemabs.uucp>,
Larry W. Virden (lwv26@chemabs.uucp) wrote:
>Again I want to warn folk that one's sort command (and in fact, one's
>cut and grep type command) may be broken so as to corrupt your newsrc
>file once you try one of these.
Our sort command seems to be ok, so I use
sort -ft. -o.newsrc .newsrc
The -f means ignore case ("fold" in upper/lower case), -t. means
recognize . as a word separator, and -o means write the output to
.newsrc, overwriting your original .newsrc. If your sort command
is doubtful, try setting -o to some other file name the first time
or two.
Jeff
Technical Details
Message-ID:
<jhurwitCuEvJK.28D@netcom.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!swrinde!emory!nntp.msstate.edu!olivea!charnel.ecst.csuchico.edu!csusac!csus.edu!netcom.com!jhurwitReferences:
<31jiej$j6h@netnews.upenn.edu> <31jn2l$3uk@gv-gate.gvg.tek.com> <1994Aug2.124727.15177@chemabs.uucp>Show Full Headers
Complete Article Headers
Message-ID: <jhurwitCuEvJK.28D@netcom.com> Subject: Re: How do you sort the .newsrc file Date: Fri, 12 Aug 1994 07:30:56 GMT From: jhurwit@netcom.com (Jeffrey Hurwit) References: <31jiej$j6h@netnews.upenn.edu> <31jn2l$3uk@gv-gate.gvg.tek.com> <1994Aug2.124727.15177@chemabs.uucp> 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!swrinde!emory!nntp.msstate.edu!olivea!charnel.ecst.csuchico.edu!csusac!csus.edu!netcom.com!jhurwit Newsgroups: news.software.readers Organization: Organization? What organization? X-Newsreader: TIN [version 1.2 PL1] Lines: 18