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

Re: field width with dpkg -l



Michael P. Soulier wrote:

>     Beyond stretching my terminal to it's maximum possible width, is there a
> way to control the field width of the display from dpkg -l?
> 
> ie. 
> [msoulier@tigger msoulier]$ dpkg -l "netscape*" | grep ^i
> ii  netscape-base- 4.77-2         Popular World-Wide-Web browser software (bas
> ii  netscape-base- 4.77-2         4.77 base support for netscape
> ii  netscape-java- 4.77-2         Netscape Java support for version 4.77
> 
>     It's cutting off the package names. 

This should do it:

  [msoulier@tigger msoulier]$ COLUMNS=255 dpkg -l 'netscape*' | grep ^i

Craig



Reply to: