On 00-12-26 Andreas Fuchs wrote: > 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 <== No, because you truncate the file here and that shouldn't happen. Ciao Christian -- Debian Developer and Quality Assurance Team Member 1024/26CC7853 31E6 A8CA 68FC 284F 7D16 63EC A9E6 67FF 26CC 7853
pgpl4AsasGZgg.pgp
Description: PGP signature