Sorry, not sure if my last email went through (I’m 180 miles off the coast of Texas at the moment) and I’m working the 6p-6a shift.
The output from echo $? In that case was zero (0). — Sean > On Dec 31, 2024, at 7:12 AM, 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 $?