Home | History | Annotate | Line # | Download | only in ramdisk
Findrefs revision 1.1
      1  1.1  gwr #!/bin/sh
      2  1.1  gwr 
      3  1.1  gwr # Small helper to find out who pulls in X
      4  1.1  gwr 
      5  1.1  gwr [ "$1" ] || { echo "$0: match_string" ; exit 1; }
      6  1.1  gwr 
      7  1.1  gwr for f in *.lo
      8  1.1  gwr do
      9  1.1  gwr 	nm -p $f | grep "$1" && echo $f
     10  1.1  gwr done
     11  1.1  gwr 
     12