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

Dan McGee dpmcgee at gmail.com
Tue May 21 10:16:38 EDT 2013

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.


More information about the pacman-dev mailing list