[ale] sort key help request

Geoffrey esoteric at 3times25.net
Thu Apr 1 12:20:57 EST 2004


Dow Hurst wrote:
> I have a tab delimited file I want to sort on the second and eighth fields.
> 
> sort -t \t -k 2b,2 -k 8,8 inputfile > outputfile
> 
> is what I have tried.  Doesn't work and I think the \t is what is wrong 
> but aren't sure.  How do I specify a tab character as the delimiter?

--field-separator='	'

Where you actually enter the tab key betwen the quotes.

> 
> Thanks,
> Dow
> 


-- 
Until later, Geoffrey                     Registered Linux User #108567
Building secure systems in spite of Microsoft



More information about the Ale mailing list