Findrefs revision 1.2 1 #!/bin/sh
2 # $NetBSD: Findrefs,v 1.2 1995/10/13 16:51:28 gwr Exp $
3
4 # Small helper to find out who pulls in X
5
6 [ "$1" ] || { echo "$0: match_string" ; exit 1; }
7
8 for f in *.lo
9 do
10 nm -p $f | grep "$1" && echo $f
11 done
12
13