rbuhl / wintee

Automatically exported from code.google.com/p/wintee
1 stars 0 forks source link

File overwrite can leave stale information at the end of the file #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. echo Hello World | wtee output.txt
2. echo Heyo | wtee output.txt

What is the expected output? What do you see instead?
The expected contents of output.txt are "Heyo", seeing "Heyo\norld" instead.

What version of the product are you using? On what operating system?
1.0.1, Windows 7 64 bit

Please provide any additional information below.
This makes capture of cron job logs very difficult to read, because it is 
unclear where the end of the newest log actually is.

Original issue reported on code.google.com by Sterling...@gmail.com on 5 Sep 2013 at 6:17