field width with dpkg -l
Hey people. 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. [EMAIL PROTECTED] 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. Thanks, Mike -- Michael P. Soulier [EMAIL PROTECTED], GnuPG pub key: 5BC8BE08 ...the word HACK is used as a verb to indicate a massive amount of nerd-like effort. -Harley Hahn, A Student's Guide to Unix pgpERGGhKwgxA.pgp Description: PGP signature
Re: field width with dpkg -l
On approximately Wed, Oct 31, 2001 at 05:41:49PM -0500, Michael P. Soulier wrote: Hey people. 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. [EMAIL PROTECTED] 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. Try dpkg --get-selections Josh -- Linux, the choice| It was Penguin lust... at its ugliest. of a GNU generation -o)| Kernel 2.4.14-pre6 /\| on a i586 _\_v | |
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. [EMAIL PROTECTED] 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: [EMAIL PROTECTED] msoulier]$ COLUMNS=255 dpkg -l 'netscape*' | grep ^i Craig
Re: field width with dpkg -l
How about runnin it as COLUMNS=200 dpkg -l 'netscape*' |grep ^i instead? Jeremy On Wed, Oct 31, 2001 at 05:41:49PM -0500, Michael P. Soulier wrote: Hey people. 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. [EMAIL PROTECTED] 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. Thanks, Mike -- Michael P. Soulier [EMAIL PROTECTED], GnuPG pub key: 5BC8BE08 ...the word HACK is used as a verb to indicate a massive amount of nerd-like effort. -Harley Hahn, A Student's Guide to Unix
Re: field width with dpkg -l
On Wed, Oct 31, 2001 at 02:52:24PM -0800, Craig Dickson wrote: This should do it: [EMAIL PROTECTED] msoulier]$ COLUMNS=255 dpkg -l 'netscape*' | grep ^i Cool, thanks. I'll look at --get-selections as well, as suggested by the other helpful person. :) Mike -- Michael P. Soulier [EMAIL PROTECTED], GnuPG pub key: 5BC8BE08 ...the word HACK is used as a verb to indicate a massive amount of nerd-like effort. -Harley Hahn, A Student's Guide to Unix pgpmERSohAhrs.pgp Description: PGP signature
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. | [EMAIL PROTECTED] 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