aboutsummaryrefslogtreecommitdiff
path: root/find
diff options
context:
space:
mode:
Diffstat (limited to 'find')
-rwxr-xr-xfind4
1 files changed, 2 insertions, 2 deletions
diff --git a/find b/find
index 0039a12..dda3fc3 100755
--- a/find
+++ b/find
@@ -8,7 +8,7 @@ function find_single() {
name=$1
address=$2
addr_last12=`echo -n "$address" | tail -c 3`
- grep -i -e "^$name .*$addr_last12$" db/*.symbols \
+ grep -r --include=\*.symbols -i -e "^$name .*$addr_last12$" db/ \
| perl -n -e '/db\/(.*)\.symbols/ && print "$1\n"' \
| sort
}
@@ -27,5 +27,5 @@ function find() {
}
for id in `find "$@"`; do
- echo "`cat db/${id}.info` (id $id)"
+ echo "db/${id}.so"
done