blob: 95563d1a3dc3d025512a491604ec9a77c153ef8c [file] [log] [blame]
#!/bin/sh
# Communal variables are elusive, they don't show up in size output!
# This script will show all communals in *.o, sorted by size
find -name '*.o' \
| while read name; do
b=`basename "$name"`
nm "$name" | sed "s/^/$b: /"
done | grep -i ' c ' | sort -k2