The returns a 0. — Sean
Sent from my iPhone > On Dec 31, 2024, at 07:12, Paul Eggert <egg...@cs.ucla.edu> wrote: > > On 12/31/24 05:00, Sean Denney wrote: >> That returns 1 as well. Timestamps are: >> sh-3.2$ stat -f %Fm B A >> 1735649785.553643117 >> 1735649797.635429442 > >>> touch B >>> sleep 2 >>> touch A >>> test B -nt A >>> echo $? > > Thanks, and let's try the opposite direction, to make sure the diagnosis is > correct. Please try this: > > touch A > sleep 2 > touch B > test B -nt A > echo $?