[K12OSN] OT: bug in /sbin/sort?

Jim Kronebusch jim at winonacotter.org
Tue Aug 22 19:36:58 UTC 2006


On Tue, 22 Aug 2006 13:31:20 -0600, Angus Carr wrote
> Try
> ls -l | sort --key=4n
> 
> I think it does the same thing. I observe the same behaviour you do.

Performing "ls -l | sort --key=5n" worked for me and provided a similar sort
order as the other command.  Using 4n did not sort by file size.  It appears
that with this method you need to use 5n to get to the file size column.

-- 
This message has been scanned for viruses and
dangerous content by the Cotter Technology 
Department, and is believed to be clean.




More information about the K12OSN mailing list