Re: get pkg name

2006-10-31 Thread Matthew Krauss
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

Re: get pkg name

2006-10-28 Thread David Jardine
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

Re: get pkg name

2006-10-28 Thread Douglas Tutty
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

Re: get pkg name

2006-10-28 Thread linux china
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

Re: get pkg name

2006-10-28 Thread Andrei Popescu
"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

Re: get pkg name

2006-10-28 Thread Douglas Tutty
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,

Re: get pkg name

2006-10-28 Thread linux china
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

Re: get pkg name

2006-10-28 Thread Steve Kemp
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

get pkg name

2006-10-28 Thread linux china
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