title: Force a shell script to fflush
body: <p>I was wondering if it was possible to tell bash that all calls to <code>echo</code> or <code>printf</code> should be followed up by a subsequent call to <code>fflush()</code> on stdout/stderr respectively?</p>
  
  <p>A quick and dirty solution would be to write my own printf implementation that did this and use it in lieu of either built in, but it occurred to me that I might not need to.</p>
  
  <p>I'm writing several build scripts that run at once, for debugging needs I <em>really</em> need to see messages that they write in order.</p>