[Webdev] continuous output...

John P . Looney valen at tuatha.org
Tue Nov 14 19:34:01 GMT 2000


 I'm trying to write a CGI or something that'll output something
continuous. As a tester, something like:

#!/usr/bin/perl
printf ("Content-type: text/plain\n\n");
exec("/usr/bin/tail -f /var/log/messages");

 Would be good. Is there something special that has to be done (note, I'm
not necassaryily going to do it in Perl, but I'm trying to work out the
"how it should be done" thing...

Kate

-- 
The words of the unwary are apt to cause needless pain and bloody violence.
                                                        - Zen Master Greg




More information about the Webdev mailing list