/usr/local question

Gregory Shenaut gkshenaut at ucdavis.edu
Wed Apr 4 16:37:11 PDT 2012


This ksh command line:

for y in ${PATH//:/ } ; do for x in "$y"/* ; do if [[ -r $x ]] ; then strings < $x | grep -sq "/usr/local" && print `basename $x` ; fi ; done ; done | sort -u | wc -l

produces 123 hits on my system. The same command, but using /opt/local, produces 834. Only 28 commands are in both lists.

Greg Shenaut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4829 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120404/e07ec356/attachment.bin>


More information about the macports-users mailing list