On 11/12/21 4:36 AM, Mischa Baars wrote:
Could you please restore the Fedora 32 behaviour? Someone must have read
the bash manual a little too precise, because now the statement only
returns true when a 'touch -a test' is given and not when a 'touch -am
test' is given.
As I understand it, -N stands for NEW and therefore should return a true
when either a 'touch -a test' or a 'touch -am test' is given.
Why do you think `touch -am', which sets the atime and mtime to the same
value, should make -N true?
If test -N is a strict test that mtime > atime, it is working correctly
and you have managed to defeat it by setting atime == mtimne.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/