linux china wrote:
hi,
using the dpkg -l to get a list some installed package lists like this,
dpkg -l some-pattern
if the package name is too lang, its name is cut because of the limit
of the columns 80. if I wanna output name and description, what's the
command line?
The Easy Way:
dpkg -l
On Sat, Oct 28, 2006 at 04:16:04PM -0400, Douglas Tutty wrote:
> On Sat, Oct 28, 2006 at 09:13:54PM +0800, linux china wrote:
> > I don't mean adjusting the columns. you can see the package name is
> > cut, the words after libhtml-tree-p is missing, so I just want to
> > output the name & descripti
On Sat, Oct 28, 2006 at 09:13:54PM +0800, linux china wrote:
> I don't mean adjusting the columns. you can see the package name is
> cut, the words after libhtml-tree-p is missing, so I just want to
> output the name & description which are needed, other information like
> version isn't needed, so
yes, COLUMNS is good. the man maual of the dpkg-query says using
showformat, but has little details.
I can use dpkg-query -W --showformat='${Package} ${Description}' to
get package name & description, but the description is too long, not
like dpkg's output.
On 10/28/06, Andrei Popescu <[EMAIL PR
"linux china" <[EMAIL PROTECTED]> wrote:
> I don't mean adjusting the columns. you can see the package name is
> cut, the words after libhtml-tree-p is missing, so I just want to
> output the name & description which are needed, other information like
> version isn't needed, so how to just output
On Sat, Oct 28, 2006 at 06:04:32PM +0800, linux china wrote:
> hi,
>
> using the dpkg -l to get a list some installed package lists like this,
> dpkg -l some-pattern
> if the package name is too lang, its name is cut because of the limit
> of the columns 80. if I wanna output name and description,
I don't mean adjusting the columns. you can see the package name is
cut, the words after libhtml-tree-p is missing, so I just want to
output the name & description which are needed, other information like
version isn't needed, so how to just output the package name &
description?
$ dpkg -l 'libht
On Sat, Oct 28, 2006 at 06:04:32PM +0800, linux china wrote:
> if the package name is too lang, its name is cut because of the limit
> of the columns 80. if I wanna output name and description, what's the
> command line?
COLUMNS=200 dpkg --list ...
Steve
--
signature.asc
Description: Digita
hi,
using the dpkg -l to get a list some installed package lists like this,
dpkg -l some-pattern
if the package name is too lang, its name is cut because of the limit
of the columns 80. if I wanna output name and description, what's the
command line?
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED
9 matches
Mail list logo