Adjust find_status for newer Linux 'nm' output format.

This commit is contained in:
Bruce Momjian 2012-11-13 21:08:07 -05:00
parent 273986bf0d
commit 3bdfd9cb9e

View File

@ -16,8 +16,7 @@ trap "rm -f /tmp/$$" 0 1 2 3 15
# symbol, then the function name.
find . -name '[a-z]*.o' -type f -print | while read FILE
do
nm $FILE | cut -c10-100 |awk '{printf "%s\t%s\t%s\n", "'"$FILE"'",$1,$2}'
do nm $FILE | cut -c17-100 |awk '{printf "%s\t%s\t%s\n", "'"$FILE"'",$1,$2}'
done >/tmp/$$
dropdb debug
createdb debug