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][tlug] Re: sort
- Date: Wed, 26 Jan 2005 16:15:36 +0900
- From: Sacha Chua <sacha@example.com>
- Subject: [tlug] Re: sort
- References: <20050126160020.27A2.B-ROBSON@example.com>
- User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)
Brett Robson <b-robson@example.com> writes: > This is driving me nuts. I want to sort on the 3rd field descending > then the 4th field ascending sort -k 3 -k 4r doesn't work. I can't > work out how to get reverse order on the second key only. If desperate, use the fact that you can make sort stable with the -s option. Sort it by the second key first, then by the first, using -s to preserve the order of rows that have the same first key. -- Sacha Chua <sacha@example.com> - open source geekette http://sacha.free.net.ph/ - PGP Key ID: 0xE7FDF77C interests: emacs, gnu/linux, personal information management, CS ed sachac on irc.freenode.net#emacs . YM: sachachua83
- References:
- [tlug] sort
- From: Brett Robson
Home | Main Index | Thread Index
- Prev by Date: [tlug] sort
- Next by Date: Re: [tlug] sort
- Previous by thread: [tlug] sort
- Next by thread: Re: [tlug] sort
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links