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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to