Hi!
----
Is there any way (e.g. official shell API) to flush a stream, e.g.
issue a |fflush()| for a given shell {fd} ?
I'm trying to do this:
-- snip --
redirect {fd}<>"/tmp/chickenmonster.txt"
print -u${fd} "A"
<flush stream fd>
sleep 120
print -u${fd} "B"
redirect {fd}&-
-- snip --
Any suggestions for "<flush stream fd>" would be nice...
... BTW: If there isn't an API... what about adding a new option "-F"
to the "print" builtin to issue a flush after "print" did it's output
?
----
Bye,
Roland
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) [email protected]
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 3992797
(;O/ \/ \O;)
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users