[ALUG] Standard output redirection caching
Dan Hatton
vi5u0-alug at yahoo.co.uk
Fri Jun 1 11:04:52 BST 2007
Dear All,
When standard output is redirected to a file, it gets cached, so that
nothing is actually written to the file until (say) 4kB of standard
output has built up. I'm sometimes too impatient to wait that long to
see the output of my programs, especially when the program in
question is a long, slow numerical calculation that might be producing
only a few hundred bytes of output per day. Is there any way of
either switching off this caching, or inspecting the contents of the
cache before it gets written, please?
--
Thanks very much
Dan Hatton
<http://www.bib.hatton.btinternet.co.uk/dan/>
More information about the main
mailing list