Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: support for nanosecond timestamps



On Thu, Nov 01, 2007 at 04:40:01PM +0100, Oliver Kiddle wrote:
> The following patch adds support in zsh for high resolution timestamps
> on systems that support them. This affects the following:
>     -N (file unread) conditional flag
>     -ot (older than) and -nt (newer than) conditional flags
>     o/O (ordered) glob qualifiers with a/m/c sort specifiers (including
>          with - glob qualifier to act on symlinks)

Thanks Oliver,

that's very helpful.

> Does anyone know of any other features that could make use of this? I
> have grepped for mtime/atime in the source and the other references are
> for checking for history/utmp/mail file updates and the stat module.
[...]

What about returning floating point numbers for zstat?

Then maybe we'd need the ability to make EPOCHSECONDS a float as
well (using gettimeofday())

Cheers,
stéphane



Messages sorted by: Reverse Date, Date, Thread, Author