[Bug 1855325] Re: test -nt and -ot ignore the subsecond part of file timestamps

2020-03-27 Thread Thorsten Glaser
** Changed in: mksh Status: Confirmed => Fix Released -- You received this bug notification because you are a member of mksh Mailing List, which is subscribed to mksh. Matching subscriptions: mkshlist-to-mksh-bugmail https://bugs.launchpad.net/bugs/1855325 Title: test -nt and -ot ignore

[Bug 1855325] Re: test -nt and -ot ignore the subsecond part of file timestamps

2019-12-05 Thread Thorsten Glaser
My first reaction was “yes, there are operating systems with sub-second timestamps, but I don’t know whether I want to act differently depending on whether the OS does it or not”. But then, Stéphane wrote over the mailing list - https://www.mail-archive.com/miros- m...@mirbsd.org/msg00970.html - th

Re: [Bug 1855325] Re: test -nt and -ot ignore the subsecond part of file timestamps

2019-12-05 Thread Stephane Chazelas
2019-12-05 19:13:03 -, Sam Kendall: > -nt and -ot are Korn extensions, so there's no POSIX standard behavior > to conform to. It's widely supported though and may be added to the next version of the POSIX standard. See http://austingroupbugs.net/view.php?id=375 There's hardly any shell/test i

[Bug 1855325] Re: test -nt and -ot ignore the subsecond part of file timestamps

2019-12-05 Thread Sam Kendall
-nt and -ot are Korn extensions, so there's no POSIX standard behavior to conform to. On RHEL 7 and 8, ksh93 and bash do *not* have the bug. On my old-ish version of Cygwin, bash *does* have the bug. -- You received this bug notification because you are a member of mksh Mailing List, which is s