freebsd-nq/contrib/bmake/find_lib.sh

14 lines
138 B
Bash
Raw Normal View History

:
re=$1; shift
for lib in $*
do
found=`nm $lib | egrep "$re"`
case "$found" in
"") ;;
*) echo "$lib: $found";;
esac
done