xref: /freebsd/contrib/bmake/find_lib.sh (revision b0d29bc47dba79f6f38e67eabadfb4b32ffd9390)
1:
2re=$1; shift
3
4for lib in $*
5do
6  found=`nm $lib | egrep "$re"`
7  case "$found" in
8  "") ;;
9  *)	echo "$lib: $found";;
10  esac
11done
12
13
14