Dave Sill wrote: > > "Robin Bowes" <[EMAIL PROTECTED]> wrote: > > > >Before I do a bit of coding, has anyone written a script to identify the > >most recent log file and tail it, preferably switching files when the > >log file turns over? > > Jeff Hayward's taildir does what you want. It's small, and I don't > have a URL, so I've attached a copy. Bingo! I was sure I wouldn't be the only person needing to do this. Thanks Dave (and Jeff!) BTW, being a bit of a clueless neophyte when it comes to building C programs, is this an appropriate way to build the file: $ egcc taildir.c -o taildir The resulting binary seems to work so I would conclude that it is! R. -- Robin Bowes - System Development Manager - Room 405A E.O.C., Overseas House, Quay St., Manchester, M3 3HN, UK. Tel: +44 161 838 8321 Fax: +44 161 835 1657
- Re: taildir won't compile... Marlon Anthony Abao
- Re: taildir won't compile... Troy Morrison
- Re: taildir won't compile... Scott D. Yelich
- 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 direct... Dave Sill
- Re: script to tail latest logfile in a di... Scott D. Yelich
- Re: script to tail latest logfile in ... Jeff Hayward
- Re: script to tail latest logfile in ... Dave Sill
- Re: script to tail latest logfile in a direct... Robin Bowes
- Re: script to tail latest logfile in a di... Scott D. Yelich
- Re: script to tail latest logfile in ... Robin Bowes
- Re: script to tail latest logfil... Adam D. McKenna
- Re: script to tail latest logfil... Scott D. Yelich
