Chris Rees wrote:

> > Something like this perhaps?
> > # grep libfoobar.so /usr/ports/*/*/pkg-plist
> 
> Most shells won't allow an argument list that long.
> 
> % find /usr/ports -depth 3 -name pkg-plist -exec grep libfoobar.so \{} \;

Fair point. It works for me (although admittedly it does take a while),
but your solution is more elegant.

> Unfortunately neither method works with automatically generated
> plists....

Fair point again. Do you have any idea how many ports use dynamically
generated plists?

AvW

-- 
I'm not completely useless, I can be used as a bad example.

Attachment: pgprqMzqukERJ.pgp
Description: PGP signature

Reply via email to