🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by David Hekimian Wed, 23 Mar 1994 03:06
Tin? Unix? Who? What? Command?
#8194
Author: David Hekimian
Date: Wed, 23 Mar 1994 03:06
15 lines
1032 bytes
If any one out there can help me PLEASE DO!
 
 Question:

	How do i put the .newsrc phile in Alphabetical order? I keep 
adding new new groups and they just get shuffled around! Is there a Unix 
command (possible using sort) to put this phile into order. 

 Thank you in Advance!

 Hekim@netcom.com

-- 
                                             hekim@netcom.com
Re: Tin? Unix? Who? What? Command?
#8210
Author: Kevin Lentin
Date: Thu, 24 Mar 1994 00:50
24 lines
1748 bytes
On Wed, 23 Mar 1994 03:06:34 GMT, David Hekimian wrote:

> If any one out there can help me PLEASE DO!
>  
>  Question:

> 	How do i put the .newsrc phile in Alphabetical order? I keep 

I presume you mean your .newsrc file?

> adding new new groups and they just get shuffled around! Is there a Unix 
> command (possible using sort) to put this phile into order. 

Yes. use sort: sort < .newsrc > .newsrc.new

Try: man sort
That will tell you how sort works.

-- 
[==================================================================]
[ Kevin Lentin                   |___/~\__/~\___/~~~~\__/~\__/~\_| ]
[ kevinl@bruce.cs.monash.edu.au  |___/~\/~\_____/~\______/~\/~\__| ]
[ Macintrash: 'Just say NO!'     |___/~\__/~\___/~~~~\____/~~\___| ]
[==================================================================]
Re: Tin? Unix? Who? What? Command?
#8236
Author: salasin
Date: Fri, 25 Mar 1994 00:04
19 lines
1383 bytes
David Hekimian (hekim@netcom.com) wrote:

: If any one out there can help me PLEASE DO!
:  
:  Question:

: 	How do i put the .newsrc phile in Alphabetical order? I keep 
: adding new new groups and they just get shuffled around! Is there a Unix 
: command (possible using sort) to put this phile into order. 

:  Thank you in Advance!

:  Hekim@netcom.com
Sure, not a problem.   I just renamed the tin executable, put it in a shell
script, the second line of which simply sorted the .newsrc.  It means your
stuff gets sorted after you exit, but how many groups can you subscribe to 
at any given time, eh?
: -- 
:                                              hekim@netcom.com
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