I'm running a Perl script and redirecting the output to a file, and redirecting STDERR to the same file, like this: myprog >capture.txt 2>&1 And I've noticed that the error output is not in sync with STDOUT. Is there any way, when doing a redirect like this, to synchronize the output, so I can tell when (in relation to STDOUT) the error messages were output? Thanks! Hal