how to find which port has a given executable
Charles Swiger
cswiger at mac.com
Wed Mar 23 13:12:47 PST 2005
On Mar 23, 2005, at 1:22 PM, Christopher Nehren wrote:
> On 2005-03-23, Alex Zbyslaw scribbled these
> curious markings:
>> % find /usr/ports -type f -name pkg-plist -exec egrep -H epstopdf {}
>> \;
>
> Just a bit of nitpickery: I've found that piping the output to xargs
> rather than using find's exec produces faster results. Plus, you (most
> of the time) don't need to use constructs like {} \;. :)
pkg_which epstopdf
...is probably even faster and easier.
--
-Chuck
More information about the freebsd-questions
mailing list