Re: Reading output of 'dpkg -l'
On Wed, Mar 17, 2004 at 01:31:52PM -0600, Hugo Vanwoerkom wrote:
> Colin Watson wrote:
> >On Wed, Mar 17, 2004 at 06:14:00PM +0000, john gennard wrote:
> >>I can't read the full descriptions of certain packages in the above
> >>output.
> >>
> >>I had the same problem some time ago and Colin Watson gave me
> >>a command to change the column width of the output. Now I'm
> >>embarrassed to say I cannot find his response (I did save it but
> >>Lord knows where, and I can't find it by searching the archives).
> >>Someone help me out, please?
> >
> >
> > COLUMNS=<number> dpkg -l
>
> I saw that in the man page before, but on woody it seems to do nothing:
>
> export COLUMNS=2
> dpkg -l
>
> puts out 4 columns.
That's columns as in characters across the screen, not as in fields in
the output. Suitable values are more like 120 than 2. If it's too small,
like 2, I think it's just ignored.
$COLUMNS checking was added in dpkg 1.7.0, so it's in woody.
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: