Date: Wed, 23 Mar 2005 18:22:52 +0000 (UTC) From: Christopher Nehren <apeiron+usenet@coitusmentis.info> To: freebsd-questions@freebsd.org Subject: Re: how to find which port has a given executable Message-ID: <slrnd43d5j.4ds.apeiron%2Busenet@prophecy.dyndns.org> References: <20050323173313.GA94954@rajarajan.homeunix.net> <200503230936.54842.ringworm01@gmail.com> <4241ACE3.5080304@dial.pipex.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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 {} \;. :) Best Regards, Christopher Nehren -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCQbSzk/lo7zvzJioRAirsAJ9oq+xJr6AHgscuUXBIzWvvsa33mgCeOnz5 8JesEMbAHU9K0SAgpb8B7eo= =nKZB -----END PGP SIGNATURE----- -- I abhor a system designed for the "user", if that word is a coded pejorative meaning "stupid and unsophisticated". -- Ken Thompson If you ask the wrong questions, you get answers like "42" and "God". Unix is user friendly. However, it isn't idiot friendly.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?slrnd43d5j.4ds.apeiron%2Busenet>