🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #10268

Re: Sorting newsgroups in

#10268
From: Larry W. Virden
Date: Mon, 25 Jul 1994 15:48
25 lines
2213 bytes
In article <30s5lp$rdo@canopus.cc.umanitoba.ca>,
Fred Plotnikoff <plotniko@access.mbnet.mb.ca> wrote:
: fp>: I am wondering how to organize my active newsgroups
: fp>: alphabetically.  I have tried sorting my .newsrc file with no
: fp>: success. Since I am a UNIX novice, please spare no detail :)
:
:                I use
:                        sort -ft. -o.newsrc .newsrc
:---
: � OLX 2.1 TD � Press "+" to see another tagline.
:                                                              

DANGER WILL ROBINSON!  DANGER!

The problem using this technique is that you hose up your .newsrc _if_
your sort does not nicely handle long lines.  Since there are several
vendors which have this 'feature' for varying definitions of 'long lines'
(like > 500 in at least one case!) I would recommend against sorting in
place.  Instead, sort to another file name and then do an wc on the
two files - if the numbers match, you should be fine.
-- 
:s Great net resources sought...
:s Larry W. Virden                 INET: lvirden@cas.org
:s Personal: 674 Falls Place,   Reynoldsburg, OH 43068-1614
The task of an educator should be to irrigate the desert not clear the forest.
Technical Details
Message-ID: <1994Jul25.154825.13959@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!nntp.gmd.de!xlink.net!rz.uni-karlsruhe.de!news.uni-ulm.de!zib-berlin.de!news.th-darmstadt.de!terra.wiwi.uni-frankfurt.de!zeus.rbi.informatik.uni-frankfurt.de!news.dfn.de!Germany.EU.net!EU.net!howland.reston.ans.net!usenet.ins.cwru.edu!ns.mcs.kent.edu!kira.cc.uakron.edu!malgudi.oar.net!chemabs!lwv26
References: <30s5lp$rdo@canopus.cc.umanitoba.ca>

Show Full Headers
Complete Article Headers
Message-ID: <1994Jul25.154825.13959@chemabs.uucp>
Subject: Re: Sorting newsgroups in
Date: Mon, 25 Jul 1994 15:48:25 GMT
From: lwv26@chemabs.uucp (Larry W. Virden)
References: <30s5lp$rdo@canopus.cc.umanitoba.ca>
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!nntp.gmd.de!xlink.net!rz.uni-karlsruhe.de!news.uni-ulm.de!zib-berlin.de!news.th-darmstadt.de!terra.wiwi.uni-frankfurt.de!zeus.rbi.informatik.uni-frankfurt.de!news.dfn.de!Germany.EU.net!EU.net!howland.reston.ans.net!usenet.ins.cwru.edu!ns.mcs.kent.edu!kira.cc.uakron.edu!malgudi.oar.net!chemabs!lwv26
Newsgroups: news.software.readers
Content-Type: text/plain; charset=US-ASCII
Followup-To: news.software.readers
Reply-To: lvirden@cas.org
Content-Transfer-Encoding: 7BIT
Organization: Nedriv Software and Shoe Shiners, Uninc.
Mime-Version: 1.0
Lines: 25