stdbuf
v(uutils coreutils) 0.1.0
Options
--input=<MODE>
,-i <MODE>
-
stdbuf-help-input
--output=<MODE>
,-o <MODE>
-
stdbuf-help-output
--error=<MODE>
,-e <MODE>
-
stdbuf-help-error
Examples
Change stdin
buffer size to 512 KiB:
stdbuf {{[-i|--input]}} 512K {{command}}
Change stdout
buffer to line-buffered:
stdbuf {{[-o|--output]}} L {{command}}
Change stderr
buffer to unbuffered:
stdbuf {{[-e|--error]}} 0 {{command}}
The examples are provided by the tldr-pages project under the CC BY 4.0 License.
Please note that, as uutils is a work in progress, some examples might fail.