Usage: stdbuf OPTION... COMMAND Run COMMAND, with modified buffering operations for its standard strea +ms. Mandatory arguments to long options are mandatory for short options to +o. -i, --input=MODE Adjust standard input stream buffering -o, --output=MODE Adjust standard output stream buffering -e, --error=MODE Adjust standard error stream buffering --help display this help and exit --version output version information and exit If MODE is `L' then corresponding stream will be line buffered. This option is invalid with standard input. If MODE is `0' then corresponding stream will be unbuffered. Otherwise MODE is a number which may be followed by one of the followi +ng: KB 1000, K 1024, MB 1000*1000, M 1024*1024, and so on for G, T, P, E, +Z, Y. In this case the corresponding stream will be fully buffered with the +buffer size set to MODE bytes. NOTE: If COMMAND adjusts the buffering of its standard streams (`tee' +does for e.g.) then that will override corresponding settings changed by `s +tdbuf'. Also some filters (like `dd' and `cat' etc.) don't use streams for I/O +, and are thus unaffected by `stdbuf' settings. Report stdbuf bugs to bug-coreutils@gnu.org GNU coreutils home page: <http://www.gnu.org/software/coreutils/> General help using GNU software: <http://www.gnu.org/gethelp/>

In reply to Re: can you autoflush a program in unix? by NiJo
in thread can you autoflush a program in unix? by redss

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.