🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Loke Teng Yan Sat, 04 Feb 1995 01:18
Arranging .newsrc
#15016
Author: Loke Teng Yan
Date: Sat, 04 Feb 1995 01:18
10 lines
1083 bytes
Hello,

How do I arrange the newsgroups listed in .newsrc file alphabetically? Thank
you.
--
Teng Yan, Loke aka Cow      | Electronic & Computer Engineering Polytechnic
93202707@np.ac.sg | yan%cyrus%linuxpub@csah.com | Republic of Singapore       
http://www-bprc.mps.ohio-state.edu/cgi-bin/hpp?yan_page.html | can't think.
------------------------------------------------------------------------------
Re: Arranging .newsrc
#15057
Author: Paul Tomblin
Date: Mon, 06 Feb 1995 02:11
17 lines
1285 bytes
In a previous article, 93202707@np.ac.sg (Loke Teng Yan) said:
>
>Hello,
>
>How do I arrange the newsgroups listed in .newsrc file alphabetically? Thank
>you.

cp .newsrc .newsrc.bak
sort < .newsrc.bak > .newsrc

Hardly brain surgery, is it?

-- 
   __   _                      Paul Tomblin
  / /  (_)__  __ ____  __      This is my computer, and I speak for me.
 / /__/ / _ \/ // /\ \/ /      (http://watt.oedison.com:8080/~tomblinp/)
/____/_/_//_/\___/ /_/\_\ ... It's not just for breakfast anymore.  (mdw)
Re: Arranging .newsrc
#15113
Author: Larry W. Virden
Date: Tue, 07 Feb 1995 18:52
12 lines
1375 bytes
You have a couple of choices.  If you go for the easy route
- sorting it - make sure that your sort command doesn't break on long lines
like it does on System V.4's sort.

If your sort is brain damaged, grap eep - I think it's at
<URL:ftp://eunet.co.at/pub/news/eep/>.
-- 
:s Larry W. Virden                 INET: larry.virden@cas.org
:s <URL:http://www-bprc.mps.ohio-state.edu/cgi-bin/hpp/lvirden_sig.html>
:s Unless explicitly stated to the contrary, nothing in this posting should 
:s be construed as representing my employer's opinions.
Re: Arranging .newsrc
#15128
Author: "Steven King, Software Archaeolo...
Date: Wed, 08 Feb 1995 15:00
19 lines
1359 bytes
93202707@np.ac.sg (Loke Teng Yan) publicly declared:

>How do I arrange the newsgroups listed in .newsrc file alphabetically? Thank
>you.

First, quit your reader.  Then, from the Unix prompt execute these
commands:

    mv .newsrc .newsrc-old
    sort .newsrc-old > .newsrc

And there you have it!  (Assuming, of course, that you're using a Unix
system...)

-- 
----------------------------------------------<Steven King, king@cig.mot.com>--
There has never been an unexpectedly short debugging period in the history
of computers.
                                                       (Steven Levy, "Hackers")
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