Skip to content

Instantly share code, notes, and snippets.

@aycabta
Last active December 20, 2015 10:20
Embed
What would you like to do?
#! /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