"Mark A. Swope" wrote:
> 
> Sorry if this isn't the correct group for this...
> 
> I'm trying to write a short script that is going to be run as
> a cron job.  In it I want to create a file that is named something
> like "filenameYYYYMMDD.txt"    I can do this just fine.
> 
> However, in the script, I'd like to do a diff with the same file
> that was created the day before and I'm having trouble figuring out
> how to do that.
> 
> Can anyone give me an example or a pointer to a good example?
> 
> Many thanks and kindest regards,
> Mark Swope
> 
> ----------------------------------------------------------------------------
> ---------
> MilliHelen - n. The amount of Beauty required to launch 1 ship.

If you like perl, you can use modula named Date::Manip (you can find it
on CPAN), there is a function, getprev(), that should work for your
needs.

Regards

Claudio Tassi

Reply via email to