Recode icon indicating copy to clipboard operation
Recode copied to clipboard

stdio buffering problems

Open rdiez opened this issue 8 years ago • 0 comments

Tool "reconv" suffers from the stdio buffering problem described here:

http://www.pixelbeat.org/programming/stdio_buffering/

Basically, when piping to reconv in an interactive session, output stutters. I need to use tool "stdbuf" to help, which cost me some research time on the Internet.

reconv should have a command-line switch to help. From the page above:

"Note tail's stdout buffer would also have this problem, but tail -f calls fflush on the stdout stream when new data is received to alleviate this (as do tcpdump -l, grep --line-buffered and sed --unbuffered for example)."

rdiez avatar Apr 11 '16 07:04 rdiez