diff options
Diffstat (limited to 'find_lib.sh')
-rwxr-xr-x | find_lib.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/find_lib.sh b/find_lib.sh new file mode 100755 index 0000000..3c2e4af --- /dev/null +++ b/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 + + |