🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #70845

Re: Sorting .newsrc in Unix shell accoutn

#70845
From: CBFalconer
Date: Fri, 19 Jan 2001 23:18
30 lines
2223 bytes
president@whitehouse.gov wrote:
> 
> This might be seem like a stupid question, but is it possible to sort the
> .newsrc file in a shell account? I use tin for a newsreader and it's a pain
> sometime to look through all the groups available to me.
> 
> Is the order of the groups important in .newsrc as long as each line remains
> intact? If I can't sort it within the shell, do you have any suggestions on
> how I might sort it in Win98?

I don't know EXACTLY how you do it under *ix, but here I would
execute:

sort < _newsrc | less

for viewing,  Replace sort by qsort <switches> if I need to sort
on a particular field(s).  Then I would wrap it up in an alias
(using 4dos/w98).

Your process should be the same.  You can then view it sorted
without altering it.

-- 
Chuck F (cbfalconer@my-deja.com) (cbfalconer@XXXXworldnet.att.net)
http://www.qwikpages.com/backstreets/cbfalconer
   (Remove "NOSPAM." from reply address. my-deja works unmodified)
   mailto:uce@ftc.gov  (for spambots to harvest)


Technical Details
Message-ID: <3A687CFA.224FD851@my-deja.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!supernews.google.com!sn-xit-02!supernews.com!isdnet!209.249.123.233.MISMATCH!xfer10.netnews.com!netnews.com!wn1feed!worldnet.att.net!135.173.83.71!wnfilter1!worldnet-localpost!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail
References: <3a6791fd$0$1517$53a6afc1@news.erinet.com>

Show Full Headers
Complete Article Headers
Message-ID: <3A687CFA.224FD851@my-deja.com>
Subject: Re: Sorting .newsrc in Unix shell accoutn
Date: Fri, 19 Jan 2001 23:18:52 GMT
From: CBFalconer <cbfalconer@my-deja.com>
References: <3a6791fd$0$1517$53a6afc1@news.erinet.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!supernews.google.com!sn-xit-02!supernews.com!isdnet!209.249.123.233.MISMATCH!xfer10.netnews.com!netnews.com!wn1feed!worldnet.att.net!135.173.83.71!wnfilter1!worldnet-localpost!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail
Reply-To: cbfalconer@worldnet.att.net
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: news.software.readers
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 29
NNTP-Posting-Host: 12.90.238.31
X-Complaints-To: abuse@worldnet.att.net
X-Trace: bgtnsc04-news.ops.worldnet.att.net 979946332 12.90.238.31 (Fri, 19 Jan 2001 23:18:52 GMT)
NNTP-Posting-Date: Fri, 19 Jan 2001 23:18:52 GMT
Organization: AT&T Worldnet