Subject: Re: bug#7323: sort bug

From: Pádraig Brady <[email-masked]>
Date: Wed, 03 Nov 2010 16:03:09 +0000

On 03/11/10 14:52, Thomas A Schweiger wrote:
> 
> I have found an anomaly in the sort utility.
> 
> If I sort on the 10th pipe delimited field using the command:
> 
> sort -t\| -k 10  source.dat

That sorts from the 10th field on.
If you just want the 10th field then use -k10,10
If the field is numeric (and not fixed width) use -k10,10n

cheers,
Pádraig.