summaryrefslogtreecommitdiffstats
path: root/contrib/bmake/find_lib.sh
blob: 3c2e4af2f2515d16b695170740dd6069a200e192 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
:
re=$1; shift

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

    
OpenPOWER on IntegriCloud