[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8961: stdbuf has no effect on some programs
From: |
Pádraig Brady |
Subject: |
bug#8961: stdbuf has no effect on some programs |
Date: |
Sun, 03 Jul 2011 23:38:49 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 |
On 03/07/11 18:50, Bruno Haible wrote:
> 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
Also "-i0" is useful if a command doesn't consume all of input,
and needs a subsequent command to process the rest, like:
producer | (stdbuf -i0 cmd1; cmd2)
I'll expand the info to make this function apparent.
cheers,
Pádraig.
- bug#8961: stdbuf has no effect on some programs, Bruno Haible, 2011/07/01
- bug#8961: stdbuf has no effect on some programs, Pádraig Brady, 2011/07/01
- bug#8961: stdbuf has no effect on some programs, Bruno Haible, 2011/07/03
- bug#8961: stdbuf has no effect on some programs, Bruno Haible, 2011/07/03
- bug#8961: stdbuf has no effect on some programs,
Pádraig Brady <=
- bug#8961: stdbuf has no effect on some programs, Pádraig Brady, 2011/07/04
- bug#8961: stdbuf has no effect on some programs, Paolo Bonzini, 2011/07/04
- bug#8961: stdbuf has no effect on some programs, Eric Blake, 2011/07/05
- bug#8961: stdbuf has no effect on some programs, Pádraig Brady, 2011/07/05
- bug#8961: stdbuf has no effect on some programs, Eric Blake, 2011/07/05