Path: 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> <1990Oct24.161210.15831@warwick.ac.uk> Sender: news@warwick.ac.uk (Network news) Organization: Computing Services, Warwick University, UK Lines: 15 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