Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jun 2004 15:13:34 -0700
From:      David Schultz <das@FreeBSD.ORG>
To:        Dimitry Andric <dimitry@andric.com>
Cc:        Scott Mitchell <scott+freebsd@fishballoon.org>
Subject:   Re: /bin/ls sorting bug?
Message-ID:  <20040619221334.GA1062@VARK.homeunix.com>
In-Reply-To: <14210101.20040619220601@andric.com>
References:  <20040619175007.GB462@tuatara.fishballoon.org> <414787887.20040619210137@andric.com> <20040619193545.GC462@tuatara.fishballoon.org> <14210101.20040619220601@andric.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.  ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040619221334.GA1062>