← Back to team overview

clicompanion-devs team mailing list archive

Re: dpkg -l vs dpkg-query -W

 

Hi,
I think that in this case we shold change both. This way you can have one
command that shows the info of the package and one that only shows the
version (for scripting for example).

David
El 26/11/2011 05:19, "Jonathan Marsden" <jmarsden@xxxxxxxxxxx> escribió:

> Currently, clicompanion has
>
>  dpkg -l ?:package:Find version of a package
>
> However, if you want the version, not the status and the one-line
> description, I think a better way to get it is to do
>
>  dpkg-query -W ?:package name:Display version of given package
>
> This displays only the name and version of the package concerned.
>
> Should we change the description of dpkg -l, or the command to use
> dpkg-query -W ?
>
> Jonathan
>
> --
> Mailing list: https://launchpad.net/~clicompanion-devs
> Post to     : clicompanion-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~clicompanion-devs
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References