Date: Wed, 04 Jan 2012 09:21:32 -0600 From: Paul Schmehl <pschmehl_lists@tx.rr.com> To: Matthew Seaman <m.seaman@infracaninophile.co.uk>, freebsd-ports@freebsd.org Subject: Re: How to detect the version of a installed perl module during portbuild Message-ID: <211DBCDE4E26F2EDE0DFEE06@utd71538.utdallas.edu> In-Reply-To: <4F0414E0.9030206@infracaninophile.co.uk> References: <4F036A7F.1000908@FreeBSD.org> <CE503C49DD251ECD02D0F7E1@utd71538.utdallas.edu> <4F0414E0.9030206@infracaninophile.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
--On January 4, 2012 8:59:12 AM +0000 Matthew Seaman <m.seaman@infracaninophile.co.uk> wrote: > On 03/01/2012 23:41, Paul Schmehl wrote: >> This returns the installed package: >> >> pkg_info -qa | grep "p5-JSON-RPC" | sort | uniq > > Woah! Try it like this: > > pkg_info -Ex p5-JSON-RPC > I bow to the master. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?211DBCDE4E26F2EDE0DFEE06>