Today, Christian Kurz <[EMAIL PROTECTED]> wrote: > Well, this is a feature that tail on FreeBSD has. If you start it with > -F, it will tail you the current file like our tail -f. But if know the > logfile will be rotated, it will notice this and reopen the new current > one and tail this one. This is a feature that I really miss in GNU tail.
Uh, is this what you mean? $ echo bar > /tmp/foo $ tail -f /tmp/foo & (sleep 1; echo baz >> /tmp/foo; sleep 1; echo qux > /tmp/foo) bar[time passes] baz[time passes] ==> /tmp/foo: file truncated <== qux $ fg ^C $ tail --version tail (GNU textutils) 2.0 -- Andreas Fuchs, <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>, antifuchs Hail RMS! Hail Cthulhu! Hail Eris! All hail Discordia!