[pacman-dev] Feature Request: line buffering for stdout/stderr even when they're not tty

Damjan gdamjan at gmail.com
Wed May 22 11:12:34 EDT 2013

On 21.05.2013 16:16, Dan McGee wrote:
> On Mon, May 20, 2013 at 10:36 AM, Damjan Georgievski <gdamjan at gmail.com> wrote:
>> I wanted to make some analysis of the output of -Qkk and wanted to
>> pipe both stdout and stderr to a grep pipeline
>> pacman -Qkk 2>&1 | ...
>> but it seems when stdout/stderr is not a tty pacman (or some lib)
>> started using bigger, not line oriented buffers so the output got
>> badly interwoven.
> Sounds like we need to address the fact that we are using both stdout
> and stderr at the same time and ordering matters, rather than forcing
> line-buffered output.

ok, I thought that was on purpose


More information about the pacman-dev mailing list