Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]RE: [tlug] sort
- Date: Wed, 26 Jan 2005 16:28:15 +0900
- From: "Erin D. Hughes" <erin@example.com>
- Subject: RE: [tlug] sort
Brett have you tried making 2 statements for each sort and first sorting -k3 then doing reverse sort -k 4. I don't have a working example handy but I think I remember doing it that way in the past some where. E./ -----Original Message----- From: Brett Robson [mailto:b-robson@example.com] Sent: Wednesday, January 26, 2005 4:19 PM To: tlug@example.com Subject: Re: [tlug] sort On Wed, 26 Jan 2005 16:04:24 +0900 Brett Robson <b-robson@example.com> wrote: > > This is driving me nuts. I want to sort on the 3rd field descending then > the 4th field ascending > That's back to front, 3rd field ascending, then 4th field descending. > sort -k 3 -k 4r > doesn't work. I can't work out how to get reverse order on the second > key only. > > thanks > Brett > > -- > Brett Robson > Systems Administrator > GOL, Tokyo. > http://www.gol.com > Phone: 03-3239-6856 International: +81-3-3239-6856 > > > -- > The TLUG server is hosted by Open Source Development Lab Japan. > http://www.osdl.jp/ > > To unsubscribe from this mailing list, > please see the instructions at <http://www.tlug.jp/list.html> -- Brett Robson Systems Administrator GOL, Tokyo. http://www.gol.com Phone: 03-3239-6856 International: +81-3-3239-6856 -- The TLUG server is hosted by Open Source Development Lab Japan. http://www.osdl.jp/ To unsubscribe from this mailing list, please see the instructions at <http://www.tlug.jp/list.html>
- References:
- Re: [tlug] sort
- From: Brett Robson
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] sort
- Next by Date: Re: [tlug] perl, cgi, and moji-baki-SOLVED
- Previous by thread: Re: [tlug] sort
- Next by thread: [tlug] cron and lftp problems
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links