mirror of
https://git.busybox.net/busybox.git
synced 2024-11-24 14:13:26 +08:00
11 lines
316 B
Bash
Executable File
11 lines
316 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Common variables are elusive, they don't show up in size output!
|
|
# This script will show all commons in *.o, sorted by size
|
|
|
|
find ! -path './scripts/*' -a ! -name built-in.o -a -name '*.o' \
|
|
| while read name; do
|
|
b=`basename "$name"`
|
|
nm "$name" | sed "s/^/$b: /"
|
|
done | grep -i ' c ' | sort -k2
|