Subject: bug#8961: stdbuf has no effect on some programs

From: Bruno Haible <[email-masked]>
Date: Sun, 3 Jul 2011 19:50:39 +0200

I wrote:
> Likewise for "-o0".

Oops, please forget the statement about -o0. With the modified GNU libiconv
'iconv' program, -o0 does make a difference:
  $ (echo -n abc; sleep 1; echo def) | iconv
vs.
  $ (echo -n abc; sleep 1; echo def) | stdbuf -o0 iconv
In the first case, output is line buffered. In the second case, "abc"
occurs immediately.

Bruno
-- 
In memoriam Yuri Shchekochikhin <http://en.wikipedia.org/wiki/Yuri_Shchekochikhin>