/bin/ls sorting bug?

David Schultz das at FreeBSD.ORG
Sat Jun 19 22:13:50 GMT 2004


On Sat, Jun 19, 2004, Dimitry Andric wrote:
> So, if these fields for two different files are exactly the same, the
> resulting sorted list will have an undefined order for all other
> fields.  And AFAICS, there's no way to tell ls: "first sort on time,
> then on filename, then on size", etc.  This would make a nice addition
> though. :)

Umm...sorting on time, then filename, then size is equivalent to
sorting on time, then filename.  That is, you can't have a tie on
the filename field.  ;-)


More information about the freebsd-hackers mailing list