File: find_lib.sh

package info (click to toggle)
bmake 20200710-15
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,292 kB
  • sloc: ansic: 18,989; sh: 1,028; python: 487; makefile: 356; perl: 96
file content (13 lines) | stat: -rwxr-xr-x 138 bytes parent folder | download | duplicates (5)
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