Hi,
I have a long running script which I want to print a line whenever a
certain task is done, in order to let the user know what's happening.
This sounds trivial, but unfortunately ksh appears to buffer the output
to quite an extent, instead of flushing it at end-of-line, like other
shells do.
The only solution I came up with is to insert the command
read </dev/null
This flushes the buffer immediately. I wonder if there is a more elegant
way I - some option, escape sequence, special redirection or whatever?
Regards,
Bernd
--
Bernd Eggink
[EMAIL PROTECTED]
http://sudrala.de
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers