Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Mar 2005 16:12:45 -0500
From:      Charles Swiger <cswiger@mac.com>
To:        Christopher Nehren <apeiron+usenet@coitusmentis.info>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to find which port has a given executable
Message-ID:  <c2bcd21c3e9af9c8f219ab0bb9975485@mac.com>
In-Reply-To: <slrnd43d5j.4ds.apeiron%2Busenet@prophecy.dyndns.org>
References:  <20050323173313.GA94954@rajarajan.homeunix.net> <200503230936.54842.ringworm01@gmail.com> <4241ACE3.5080304@dial.pipex.com> <slrnd43d5j.4ds.apeiron%2Busenet@prophecy.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c2bcd21c3e9af9c8f219ab0bb9975485>