#!/bin/sh # $NetBSD: Findrefs,v 1.1 2001/05/18 00:16:40 fredette 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