Bug#92263: dpkg --list truncates package names?
Hi!
The COLUMNS (and LINES) variable - by default - is set by the terminal
software when you resize the window (or change resolution in text mode). No
problem, perfect! :-)
My problem is the above mentioned. If you redirect the output of "dpkg -l",
then it uses an internal default (?) value of 80, so the package names a
stripped. So I cannot use the output of "dpkg -l" for scripting. I would
expect a similar behaviour to "ps". Try "ps auxf", and try "ps auxf | cat".
Thanks, Nil.
Reply to: