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

Re: Getting a list of installed packages



On Wednesday 15 November 2000 11:43, Moritz Schulte wrote:
> Robert Guthrie <rguthrie@pobox.com> writes:
> > I'm using this command:
> > dpkg -l * | egrep "^ii" | grep -i kde
<snip>
> > What I'm trying to get is the full version information.  I only care
> > about that and the package name.
>
> You can do it with awk: dpkg -l | awk '{ print $2 " " $3 }'
>
> 	moritz

That didn't work either.  It seems that anything I run through a pipe gets 
truncated.  I'm not sure why.  If I just run dpkg -l all by itself, I get a 
nicely spaced output that I could cut and past from, but that would require 
me to do the work that my computer should do for me ;-).  Any suggestions?  
Running this at the console (as opposed to an X terminal window) doesn't 
behave any differently.

-- 
Did you know that if you play a Windows 2000 cd backwards, you 
will hear the voice of Satan?

That's nothing!  If you play it forward, it'll install Windows 2000.



Reply to: