Jan. 28, 2010
5:21 p.m.
On 29 January 2010 00:14, Ben Klein <shacklein(a)gmail.com> wrote:
2010/1/29 Henri Verbeet <hverbeet(a)gmail.com>:
On 28 January 2010 22:39, Stefan Leichter <Stefan.Leichter(a)camline.com> wrote:
Is this a know problem? Is a work around available?
Yeah, that's a known problem. As a workaround you can use ">>" (append) instead of ">" to redirect to the file. You'll still need the "2>&1" to redirect stderr to stdout, of course.
Wait, is this really a "known problem" or is it just that he was using the standard ">" redirect, which is *expected* to overwrite the file?
The problem isn't the file being overwritten, it's multiple threads writing (mostly unsynchronized) to the same file.