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