> -----Original Message----- > From: Gavin Sherry [mailto:[EMAIL PROTECTED] > Sent: 11 March 2003 22:38 > To: Dave Page > Cc: [EMAIL PROTECTED] > Subject: Re: [HACKERS] Website build script > > > Seems possible that Lynx timed out and generated and sh left > only an empty file. > > Guard against this by writing the output of lynx to a > temporary file and either check it for stuff you expect to be > there (<!-- comments -->?) or for some reasonable size. There > are better was to do this, of course...
Thanks, we did consider checking the size and for </html>. A known comment might be better of course, as lynx might add </html> even if it times out. Regards, Dave.
smime.p7s
Description: S/MIME cryptographic signature