21 May
2013
21 May
'13
2:16 p.m.
On Mon, May 20, 2013 at 10:36 AM, Damjan Georgievski <gdamjan@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. -Dan