source: drbl_ui/backup/test_busybox/busybox-1.7.2/scripts/find_stray_common_vars

Last change on this file was 20, checked in by chris, 17 years ago
File size: 269 bytes
Line 
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
6find -name '*.o' \
7| while read name; do
8    b=`basename "$name"`
9    nm "$name" | sed "s/^/$b: /"
10done | grep -i ' c ' | sort -k2
Note: See TracBrowser for help on using the repository browser.