Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links