🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1616

Re: How to sort on exactly one field only

#1616
From: Rob McMahon
Date: Wed, 24 Oct 1990 16:38
15 lines
988 bytes
In article <1990Oct24.161210.15831@warwick.ac.uk> I wrote:
>cudcv (5) > cat -n xx | sort -n +2 -3 +0 -1 | colrm 1 8
>...
>
>(SystemV-ers will use `cut -c8-' instead of `colrm 1 8'.)

But then of course they won't have cat -n ... so they'll have to use 

	pr -tn\ 6 | sort -n +2 -3 +0 -1 | cut -c8-

Rob
--
UUCP:   ...!mcsun!ukc!warwick!cudcv	PHONE:  +44 203 523037
JANET:  cudcv@uk.ac.warwick             INET:   cudcv@warwick.ac.uk
Rob McMahon, Computing Services, Warwick University, Coventry CV4 7AL, England
Technical Details
Message-ID: <1990Oct24.163804.17200@warwick.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!ukc!warwick!cudcv
References: <1094@massey.ac.nz> <quan.656735656@sol> <1990Oct24.161210.15831@warwick.ac.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!ukc!warwick!cudcv
From: cudcv@warwick.ac.uk (Rob McMahon)
Newsgroups: comp.unix.shell
Subject: Re: How to sort on exactly one field only
Message-ID: <1990Oct24.163804.17200@warwick.ac.uk>
Date: 24 Oct 90 16:38:04 GMT
References: <1094@massey.ac.nz> <quan.656735656@sol> <1990Oct24.161210.15831@warwick.ac.uk>
Sender: news@warwick.ac.uk (Network news)
Organization: Computing Services, Warwick University, UK
Lines: 15