FS#9294 - unnecessary line wraps when piping pacman output
Attached to Project:
Pacman
Opened by Jens Adam (byte) - Tuesday, 22 January 2008, 04:09 GMT
Last edited by Allan McRae (Allan) - Sunday, 22 April 2012, 20:55 GMT
Opened by Jens Adam (byte) - Tuesday, 22 January 2008, 04:09 GMT
Last edited by Allan McRae (Allan) - Sunday, 22 April 2012, 20:55 GMT
|
Details
Summary and Info:
pacman shouldn't contain any special terminal logic or whatever else it is that causes different stdout behaviour, whether the endpoint is an interactive terminal or a pipe. Steps to Reproduce: Compare 'pacman -Si (or -Qi) syslog-ng' to 'pacman -Si syslog-ng | grep Description'. |
This task depends upon
The issue you really wanted to address appears to be line wrapping in --info output, which is a legitimate gripe. Note that normally we do some indented printing, so this is not as cut-and-dry as it may appear.
Seems like it's solved, I used foomatic-db-engine with its long description and glibc (Required by) for testing.