[NTLUG:Discuss] How to tell file1 is half an hour older than file2?
MadHat
madhat at unspecific.com
Mon Apr 29 09:58:57 CDT 2002
On Sat, 2002-04-27 at 13:50, Sameer Khan wrote:
> Hello,
> Any ideas how one can go about doing above in
> a ksh script (without GNU tools unfortunately)?
What tools are available? Just with ksh, I am not sure you can. You
need to be able to get the date (at least ls) and be able to compare the
dates (something as simple as sort). It is easy to do in most scripting
languages such as perl, tcl, etc...
> Thanks for your brain droppings!
> Sameer
>
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
>
--
MadHat at Unspecific.com
gpg --keyserver wwwkeys.us.pgp.net --recv-keys 9DDC3E98
Key fingerprint = E786 7B30 7534 DCC2 94D5 91DE E922 0B21 9DDC 3E98
More information about the Discuss
mailing list