[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] sort key help request
- Subject: [ale] sort key help request
- From: esoteric at 3times25.net (Geoffrey)
- Date: Thu Apr 1 12:20:57 2004
- In-reply-to: <[email protected]>
- References: <[email protected]>
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