/bin/ls -t and nanoseconds

Scott Mitchell scott+freebsd at fishballoon.org
Tue Jun 22 21:07:26 GMT 2004


On Mon, Jun 21, 2004 at 02:19:46PM -0400, Garrett Wollman wrote:
> <<On Sun, 20 Jun 2004 19:08:29 +0100, Scott Mitchell <scott+freebsd at fishballoon.org> said:
> 
> > Does POSIX have anything to say about whether or not '/bin/ls -t' should
> > pay attention to the nanoseconds part of the file timestamps?
> 
> POSIX doesn't have anything to say about file timestamps having
> nanoseconds parts.

Thanks.  Our ls now sorts timestamps down to the nanosecond level and does
a secondary sort by name when timestamps are equal.

	Scott

-- 
===========================================================================
Scott Mitchell           | PGP Key ID | "Eagles may soar, but weasels
Cambridge, England       | 0x54B171B9 |  don't get sucked into jet engines"
scott at fishballoon.org | 0xAA775B8B |      -- Anon


More information about the freebsd-standards mailing list