Findrefs revision 1.2
11.1Sgwr#!/bin/sh 21.2Sgwr# $NetBSD: Findrefs,v 1.2 1995/10/13 16:51:28 gwr Exp $ 31.1Sgwr 41.1Sgwr# Small helper to find out who pulls in X 51.1Sgwr 61.1Sgwr[ "$1" ] || { echo "$0: match_string" ; exit 1; } 71.1Sgwr 81.1Sgwrfor f in *.lo 91.1Sgwrdo 101.1Sgwr nm -p $f | grep "$1" && echo $f 111.1Sgwrdone 121.1Sgwr 13