Re: dpkg -l needs wider package name output
On Sun, Apr 13, 2003 at 08:04:20PM -0400, Travis Crump wrote:
> Colin Watson wrote:
> >On Sun, Apr 13, 2003 at 06:11:21PM -0400, Benjamin Rutt wrote:
> >>It seems that there is an arbitrary limit on 'dpkg -l': it only seems
> >>to output the first 14 characters of any package name.
> >
> >Set COLUMNS to something large, or use dpkg-query with the --showformat
> >option (check its man page).
>
> pretzalz@Pretzalz:~$ echo $COLUMNS
> 145
> pretzalz@Pretzalz:~$ dpkg -l
> <nice wide output>
> pretzalz@Pretzalz:~$ dpkg -l | less
> <output squished into 80 columns>
> pretzalz@Pretzalz:~$ COLUMNS=145 dpkg -l | less
> <nice wide output>
>
> Do you really have to specify COLUMNS every time when using dpkg/less?
'export COLUMNS'
Cheers,
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: