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 {} \;. :)


I've been typing it like this for 20 years and my fingers can type {} \; faster than a speeding bullet, or at least a run-away zimmer frame. Leave us old fogeys in peace. You and your new fangled commands starting with x that aren't X11 applications. If it wasn't in 4.1BSD it isn't worth using. Anyway, the manual page for xargs just makes my brain hurt. :)

Charles Swiger wrote: On Mar 23, 2005, at 1:22 PM,

pkg_which epstopdf

...is probably even faster and easier.

% pkg_which epstopdf epstopdf: not found

Just like pkg_info -W it doesn't seem to work unless the package is installed

--Alex


_______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to