-----BEGIN PGP SIGNED MESSAGE-----



On 13 May 1999, Robin Bowes 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.

What's wrong with something like: tail -f `ls -rt | tail -1`
The only thing I wish tail would do is multi-tail... mtail...
tail -multi, tail file file file... etc.

Scott


-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNzrQgB4PLs9vCOqdAQGoxgP+N6R9DwznYrQ+ht2RD9WpMxiqkXUqf8ke
DD/J+J/Qbgs3tLK7ncI5ttNwedseJn46ubep30PxsGdYnW20yTrtJJVVR9/iJUEo
xuSLaa/idnDeC3xElHjpxAomgS8GJGpP4ZaxL0hGB+hIDB9xQjwLO/ubE8lk0Jul
BCxIGrIyXr8=
=VN2G
-----END PGP SIGNATURE-----

Reply via email to