Bug#92263: dpkg --list truncates output on stdout redirection
On Fri, Nov 08, 2002 at 02:16:35AM +0100, Josip Rodin wrote:
> On Thu, Nov 07, 2002 at 10:32:27PM +0100, Ignacio Torres Masdeu wrote:
> > 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.
I hate to act like a stupid and I just did that. It works as expected when I
redirect the output of dpkg and not of a previous archive. Sorry for
bothering you.
See you later, I'm going to my optician. =/
Reply to: