meant to send this to the list...

----- Forwarded message from Martin F Krafft <[EMAIL PROTECTED]> -----

also sprach Anthony J. Breeds-Taurima (on Fri, 07 Sep 2001 08:44:50AM +0800):
> Here is a far more complicated perl script that make the "tail -f" part of the
> actual application.  It is designed to run as a daemon ie
> # logtail /var/log/syslog &

very nice, *but* -- and this is a problem i am currently struggling
with... what if the syslog file gets rotated away by logrotate or
other means? i don't particularly want to modify logrotate for this...
how can you make a script detect that the name of the file of the
inode it is following changes, and then to reattach to the new
file/inode?

----- End forwarded message -----

martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
-- 
with searching comes loss
and the presence of absence:
file not found.

Reply via email to