help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Should -et be available?


From: Dennis Williamson
Subject: Re: Should -et be available?
Date: Mon, 25 May 2020 16:12:24 -0500

On Mon, May 25, 2020, 12:03 PM Eli Schwartz <address@hidden> wrote:

>
> $ <CTRL-X><CTRL-V>
> GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)
>
>
> $ touch test1; sleep .001; touch test2; stat --format='%y %n' test1 test2
> 2020-05-25 13:00:23.707169347 -0400 test1
> 2020-05-25 13:00:23.713836098 -0400 test2
> $ [[ test1 -ot test2 ]] && echo older
> older
> $
>


It's interesting that it's not working for me in 4.4 because that's when
nanosecond support was added according to the CHANGES file. I didn't find
any references to subsequent bug fixes.

>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]