summaryrefslogtreecommitdiff
path: root/find_lib.sh
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2013-04-01 14:07:52 +0000
committer <>2013-05-17 14:06:43 +0000
commit986bc2ac05bc4c08c6a0ed30c9e97674932ccfeb (patch)
tree8346daf16e98e93415195acbf99f09cb5326b73b /find_lib.sh
downloadbmake-tarball-986bc2ac05bc4c08c6a0ed30c9e97674932ccfeb.tar.gz
Imported from /home/lorry/working-area/delta_bmake-tarball/bmake.tar.gz.HEADbmakemaster
Diffstat (limited to 'find_lib.sh')
-rwxr-xr-xfind_lib.sh13
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
+
+