[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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.
> 
> Excerpt:
> 
> GRF_PDF_3:/etc/init.d# export COLUMNS=200 && cat \
> /tmp/dpkg.list | cut -d" " -f 3 | grep perl-5.005
> perl-5.005
> perl-5.005-bas

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.



Reply to: