I don't see what buffering has to do with this problem. As mentioned above by SuicideJunkie if you want to overwrite the last line of a file you need to use seek.
In reply to Re^2: overwrite last line printed
by RichardK
in thread overwrite last line printed
by Commy_Code_Monkey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |