pkg version -Xs foo shows all ports, not just foo

Greg Byshenk freebsd at byshenk.net
Tue Apr 10 21:09:33 UTC 2012


On Tue, Apr 10, 2012 at 08:55:41PM +0100, Anton Shterenlikht wrote:
> BUZI> pkg version -Xs Image
> CalculiX-2.4                       =
> GraphicsMagick-1.1.15_3,1          =
> ImageMagick-6.7.5.10               =
> ORBit2-2.14.19                     =
> OpenEXR-1.6.1_3                    =
> R-2.14.2                           =
> ^C
> BUZI> 
> 
> The man page seems to indicate that the
> above options should only show ImageMagick.
> 
> What am I doing wrong?


I'm not sure if it's a bug or a feature, but pkg_version seems to 
want the arguments separately.

	$ pkg_version -X -s Image
	ImageMagick                         =
	$ 

Although in this particular case, 'pkg_version -s Image' (without
the '-X') seems to do just fine, as well.


-- 
greg byshenk  -  gbyshenk at byshenk.net  -  Leiden, NL - Portland, OR USA


More information about the freebsd-ports mailing list