projects
/
oweals
/
busybox.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
test: correct confusing placement of "const"
[oweals/busybox.git]
/
scripts
/
find_stray_common_vars
1
#!/bin/sh
2
3
# Common variables are elusive, they don't show up in size output!
4
# This script will show all commons in *.o, sorted by size
5
6
find -name '*.o' \
7
| while read name; do
8
b=`basename "$name"`
9
nm "$name" | sed "s/^/$b: /"
10
done | grep -i ' c ' | sort -k2