Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / distrib / sun3 / ramdisk / Findrefs
blob8aff8129cbb2c61c487814566fad20a67684d080
1 #!/bin/sh
2 # $NetBSD$
4 # Small helper to find out who pulls in X
6 [ "$1" ] || { echo "$0: match_string" ; exit 1; }
8 for f in *.lo
9 do
10 nm -p $f | grep "$1" && echo $f
11 done