On Thu, 13 May 1999, Scott D. Yelich wrote:

   Um...  so is the trigger a new file has been created or no more input is
   being put into the file? Each one of those begs a question...  the first
   is, do you want to "tail" or "cat" each and every new file that is
   generated and the other is "just when do you know that no more input has
   been received?" It wouldn't be all that difficult to write a command
   that came close to doing those although they seem arbitrarily complicated.

My preference (which is coded in taildir) is that it seek to the end
of the newest file upon startup and begin reading there. Thereafter
it checks for a new file each time it reads to the end of the
current one.  If one is found, it is opened and read from the
beginning until there is a newer file and so on...

Thanks for posting the program, Dave.  I really should put up a web
page one day.

-- Jeff Hayward

   
   

Reply via email to