🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #24027

Re: Keeping List of Newsgroups Sorted in SLRN

#24027
From: Reality is a point of view
Date: Fri, 12 Jul 1996 00:00
34 lines
1733 bytes
 +---- cbbrowne@dantzig.nodomain.nowhere wrote (12 Jul 1996 06:14:51 GMT):
 | I personally have found it annoying when newsreaders have neglected
 | to permit me to order my news in whatever logical fashion I prefer.

I'm still hoping for article sorting by score.

 | This will sort .jnewsrc on a regular basis.
 +----

FWIW I use

#!/bin/sh
oldnewsrc=~/News/.jnewsrc
newsrc=~/News/.jnewsrc.new
if [ -e $oldnewsrc ]; then
	if [ -e $newsrc ]; then rm -f $newsrc; fi
	grep : $oldnewsrc > $newsrc
	grep -v : $oldnewsrc | sort | uniq >> $newsrc
	mv -i $newsrc $oldnewsrc
fi

That leaves the order of subscribed groups alone and sorts the
unsubscribed groups.  Running it while slrn is running won't
work because slrn is working with .jnewsrc~, at least in my
version.  I suppose I could add a check for that . . .

-- 
Gary Johnson                   "There's no union called the AFL-CIA is there?"
gjohnson@season.com            <a href="http://www.efm.org">Walk The Talk</a>
                   CAMPAIGN '96: Juck 'em if they can't fake a toke.


Technical Details
Message-ID: <slrn4ud54j.8e.gjohnson@dream.season.com>
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: <slrn44ubl6u.d10.jollie@worf.netins.net> <slrn4ubr0i.9d.cbbrowne@dantzig.nodomain.nowhere>

Show Full Headers
Complete Article Headers
Message-ID: <slrn4ud54j.8e.gjohnson@dream.season.com>
Subject: Re: Keeping List of Newsgroups Sorted in SLRN
Date: Fri, 12 Jul 1996 00:00:00 +0000
From: gjohnson@dream.season.com (Reality is a point of view)
References: <slrn44ubl6u.d10.jollie@worf.netins.net> <slrn4ubr0i.9d.cbbrowne@dantzig.nodomain.nowhere>
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: 168035152
Organization: season.com [205.179.33.0]
Newsgroups: news.software.readers