mirror of
https://github.com/sheumann/hush.git
synced 2024-10-29 20:27:40 +00:00
4e5f82c76f
resize: remove globals var mdev: remove globals var
11 lines
270 B
Bash
Executable File
11 lines
270 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Communal variables are elusize, then don't show 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
|