in reply to Re: Re: Using -M to test age of file
in thread Using -M to test age of file

In fact -X just calls stat and caches the unused result fragments in the _ magical var - yes it is called _ so you can do this:

Just to clarify, caching the results isn't peculiar to the filetest operators; stat() itself caches the results too.

-sauoq
"My two cents aren't worth a dime.";
  • Comment on Re: Re: Re: Using -M to test age of file