🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #3218

Sorting .newsrc

#3218
From: Tom Limoncelli
Date: Thu, 08 Oct 1992 20:59
26 lines
1616 bytes
I would like to sort my .newsrc file based on how me init file
specifies.

Why?  Because I switch between trn and nn a lot, and nn presents
newsgroups in the order described in ~/.nn/init but trn presents the
newsgroups in the order described in ~/.newsrc.  It would be nice
to see them in the same order no matter what program I use.

This shouldn't be a difficult Perl program.  Basically one would just
have to interpret the init file and write out a .newsrc when done.  I
began writing the code at least once, but I've never had the time to
finish it.

It would be nice if nn would write out the .newsrc file in the order
that it presents the newsgroups (with "hidden" newsgroups put at the
end).

Thanks in advance,
Tom

-- 
Tom Limoncelli -- tal@warren.mentorg.com (work) -- tal@plts.uucp (play)
"I like Bill Clinton tremendously.  I know him from the governors' conferences.
The Democrats nominated their best person, a very able fellow.  The country is
well served by that choice." -Bush's re-election chair in NJ (Thomas Kean)
Technical Details
Message-ID: <1992Oct8.205916.13274@Warren.MENTORG.COM>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.lang.perl.mbox.zip!sparky!uunet!news.mentorg.com!sdl!tal

Show Full Headers
Complete Article Headers
Message-ID: <1992Oct8.205916.13274@Warren.MENTORG.COM>
Subject: Sorting .newsrc
Date: Thu, 8 Oct 1992 20:59:16 GMT
From: tal@Warren.MENTORG.COM (Tom Limoncelli)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.lang.perl.mbox.zip!sparky!uunet!news.mentorg.com!sdl!tal
Newsgroups: news.software.nn,comp.lang.perl
Organization: Mentor Graphics -- IC Group
Distribution: usa
Lines: 25