freebsd-skq/20140620/find_lib.sh
2014-07-02 21:28:23 +00:00

14 lines
138 B
Bash
Executable File

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