I'm trying to write this in ksh.
Anyone now any simple ways of finding out if a file is more than five minutes old?
What I really want to avoid is having to get the output from date, and then awking out the minutes - and doing a load of 'if' statements depending on whether it just gone past the hour etc. etc. That would all be a bit messy.