Re: field width with dpkg -l
On Wed, Oct 31, 2001 at 02:52:24PM -0800, Craig Dickson wrote:
| 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:
|
| $ COLUMNS=255 dpkg -l 'netscape*' | grep ^i
Sweet, now dpkg will stop cutting off the names on my 1280x1024
console when I pipe it to something.
Thanks,
-D
Reply to: