bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#5941: tail bug


From: Eric Kever
Subject: bug#5941: tail bug
Date: Tue, 13 Apr 2010 16:16:46 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4

I've created a file 'foo', and used tail -f to follow the changes to that file. I then wrote 'test' to the file and saved it, and tail reported 'test', which is fine. I then deleted 'test' and saved the file, and tail reported 'tail: foo: file truncated', which is fine. I then wrote 'test' again and saved the file, and tail reported 'est' instead of 'test'. It seems that any time the file that tail is following is truncated, tail will miss the first byte of any information that is written to the file after the truncation.

--
You've read my email.  Windows must restart for the changes to take effect.








reply via email to

[Prev in Thread] Current Thread [Next in Thread]