~ubuntu-branches/ubuntu/trusty/bmake/trusty-proposed

« back to all changes in this revision

Viewing changes to find_lib.sh

  • Committer: Package Import Robot
  • Author(s): Andrew Shadura
  • Date: 2013-09-22 16:07:33 UTC
  • Revision ID: package-import@ubuntu.com-20130922160733-9cvmsi7z0jswtrbi
Tags: upstream-20130904
ImportĀ upstreamĀ versionĀ 20130904

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
:
 
2
re=$1; shift
 
3
 
 
4
for lib in $*
 
5
do
 
6
  found=`nm $lib | egrep "$re"`
 
7
  case "$found" in
 
8
  "") ;;
 
9
  *)    echo "$lib: $found";;
 
10
  esac
 
11
done
 
12
 
 
13