Skip to content

Instantly share code, notes, and snippets.

@aycabta
Last active December 20, 2015 10:20
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aycabta/6115227 to your computer and use it in GitHub Desktop.
Save aycabta/6115227 to your computer and use it in GitHub Desktop.
#! /bin/bash
for i in *.a;
do
RESULT=`nm $i 2> /dev/null | grep $1 2> /dev/null`
if [ -n "$RESULT" ]; then
echo $i
echo $RESULT
echo
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment