🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #38170

Re: sorting .newsrc

#38170
From: lvirden
Date: Wed, 21 Jan 1998 00:00
25 lines
1775 bytes


Have you all considered that sort won't do what was requested?  

1. sort, on Unix systems other than Linux at least, is typically broken.
Lines over 1024 frequently get truncated or broken into multiple lines.
I've seen this at least on Ultrix, SunOs and Solaris.

2. The original requested wanted to perform a _priority_ sort - that is to
say, it isn't that they wanted the newsrc in strictly alphabetical order, but
instead, some special newsgroups sorted to the top of the list, followed by
the rest in alphabetical order.

Unfortuantely, there is no standard document describing the format of the
newsrc file.  This means that changes to the newsrc file such as adding
comments may cause other newsreaders to core dump, throw them away, etc.

-- 
Larry W. Virden                 INET: lvirden@cas.org
<URL:http://www.teraform.com/%7Elvirden/> <*> O- "We are all Kosh."
Unless explicitly stated to the contrary, nothing in this posting should
be construed as representing my employer's opinions.

Technical Details
Message-ID: <6a558j$2nn$1@srv38s4u.cas.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <69kqqt$5oq@snews2.zippo.com> <69obm5$52f$1@dolphin.neosoft.com> <21060@!>

Show Full Headers
Complete Article Headers
Message-ID: <6a558j$2nn$1@srv38s4u.cas.org>
Subject: Re: sorting .newsrc
Date: Wed, 21 Jan 1998 00:00:00 +0000
From: lvirden@cas.org
References: <69kqqt$5oq@snews2.zippo.com> <69obm5$52f$1@dolphin.neosoft.com> <21060@!>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 318028033
Content-Transfer-Encoding: 7BIT
Content-Type: text/plain; charset=US-ASCII
Organization: Nedriv Software and Shoe Shiners, Uninc.
Mime-Version: 1.0
Reply-To: lvirden@cas.org
Newsgroups: news.software.readers
Originator: lwv26@cas.org (Larry W. Virden)