in reply to Date checking files for a cache

If this program is long running, be aware that -M reports file ages based on the time your program started.

Thus, the results of this snippet are the same, though you might expect otherwise:

print -M 'temp'; print "\n"; sleep 2; print -M 'temp';

stat might be better for you.

Replies are listed 'Best First'.
RE: Re: Date checking files for a cache
by merlyn (Sage) on Sep 24, 2000 at 01:27 UTC