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
- Re: taildir won't compile... Robin Bowes
- Re: taildir won't compile... Scott D. Yelich
- Re: taildir won't compile... Jeff Hayward
- Re: taildir won't compile... Dave Sill
- Re: taildir won't compile... Scott D. Yelich
- Re: taildir won't compile... Jeff Hayward
- Re: script to tail latest logfile in a directory? Robin Bowes
- Re: script to tail latest logfile in a directory? Scott D. Yelich
- Re: script to tail latest logfile in a directory? Dave Sill
- Re: script to tail latest logfile in a direct... Scott D. Yelich
- Re: script to tail latest logfile in a di... Jeff Hayward
- Re: script to tail latest logfile in a di... Dave Sill
- Re: script to tail latest logfile in a directory? Robin Bowes
- Re: script to tail latest logfile in a direct... Scott D. Yelich
- Re: script to tail latest logfile in a di... Robin Bowes
- Re: script to tail latest logfile in... Adam D. McKenna
- Re: script to tail latest logfile in... Scott D. Yelich
- Re: script to tail latest logfile in... Adam D. McKenna
