diff options
Diffstat (limited to 'contrib/bmake/find_lib.sh')
-rwxr-xr-x | contrib/bmake/find_lib.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/bmake/find_lib.sh b/contrib/bmake/find_lib.sh new file mode 100755 index 0000000..3c2e4af --- /dev/null +++ b/contrib/bmake/find_lib.sh @@ -0,0 +1,13 @@ +: +re=$1; shift + +for lib in $* +do + found=`nm $lib | egrep "$re"` + case "$found" in + "") ;; + *) echo "$lib: $found";; + esac +done + + |