🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Fred Plotnikoff Sat, 23 Jul 1994 22:30
Re: Sorting newsgroups in
#10239
Author: Fred Plotnikoff
Date: Sat, 23 Jul 1994 22:30
9 lines
1022 bytes
 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.
                                                              
Re: Sorting newsgroups in
#10268
Author: 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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads