diff options
Diffstat (limited to 'distrib/mvme68k/ramdisk/Findrefs')
-rw-r--r-- | distrib/mvme68k/ramdisk/Findrefs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/distrib/mvme68k/ramdisk/Findrefs b/distrib/mvme68k/ramdisk/Findrefs new file mode 100644 index 00000000000..2a098b5df7a --- /dev/null +++ b/distrib/mvme68k/ramdisk/Findrefs @@ -0,0 +1,12 @@ +#!/bin/sh +# $NetBSD: Findrefs,v 1.2 1995/10/13 16:51:28 gwr Exp $ + +# Small helper to find out who pulls in X + +[ "$1" ] || { echo "$0: match_string" ; exit 1; } + +for f in *.lo +do + nm -p $f | grep "$1" && echo $f +done + |