Bug#92263: dpkg --list truncates output on stdout redirection
On Thu, Nov 07, 2002 at 10:32:27PM +0100, Ignacio Torres Masdeu wrote:
> On dpkg 1.9.21 (i386) at least.
> The COLUMNS workaround doesn't work if you redirect the output.
> GRF_PDF_3:/etc/init.d# export COLUMNS=200 && cat \
> /tmp/dpkg.list | cut -d" " -f 3 | grep perl-5.005
Uh, what? All you're doing there is exporting the variable and then catting
a file presumably produced beforehand, and obviously produced without that
variable in effect.
2. That which causes joy or happiness.