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

Re: list all packages that are installed



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 11 January 2002 05:22 pm, Richard Cobbe wrote:
> Lo, on Friday, January 11, Paul E Condon did write:
[snip]
> dpkg -l
>
> although you may need to set the COLUMNS variable to a larger number in
> order to prevent some of the fields from getting chopped.
>
> See dpkg's manpage for more goodies.
>
> (Just out of curiosity, is the COLUMNS trick documented anywhere?  I
> couldn't find it in any of the obvious manpages: dpkg(8), bash(1),
> environ(7).)

A problem with this is that even if COLUMNS is a huge value (from
a very large xterm window, for example), 'dpkg -l > foo' will 
still create a 78 column output.

- -- 
+------------------------------------------------------------+
| Ron Johnson, Jr.        Home: ron.l.johnson@cox.net        |
| Jefferson, LA  USA      http://ronandheather.dhs.org       |
|                                                            |
! "Millions of Chinese speak Chinese, and it's not           |
!  hereditary..."                                            |
!    Dr. Dean Adell(sp?)                                     !
+------------------------------------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8P3gejTz5dS9Us5wRAjtEAJ97EC5yJxytdSYdmSxnUFrfY1z0IACeMdLk
QUtMuUclIAYLJKqJLkmDc50=
=seAG
-----END PGP SIGNATURE-----



Reply to: