-o, --output
Adjust standard output stream buffering to MODE.
An option of stdbufx.
Usage
stdbufx -o MODE OPTION... COMMAND [ARG]...
stdbufx --output=MODE OPTION... COMMAND [ARG]...Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-o | --output | MODE | adjust standard output stream buffering to MODE |
Examples
See each line of a program's output as soon as it is written, through a pipe
tail -f app.log | stdbufx -oL awk '/ERROR/' | teex errors.loggnux tools need none of this, but take it in their stride
tail -f app.log | stdbufx -oL grepx ERRORHelp in the terminal
gnux help stdbufx --output