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

Reply via email to