From: Denis Vlasenko Date: Tue, 21 Aug 2007 10:54:59 +0000 (-0000) Subject: s/communal/common/ part 2 X-Git-Tag: 1_7_0~11 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=18f2a6bc5efa762c6bdfe4199f2067e6c35fa111;p=oweals%2Fbusybox.git s/communal/common/ part 2 --- diff --git a/scripts/find_stray_common_vars b/scripts/find_stray_common_vars new file mode 100755 index 000000000..9f26bc7ac --- /dev/null +++ b/scripts/find_stray_common_vars @@ -0,0 +1,10 @@ +#!/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 -name '*.o' \ +| while read name; do + b=`basename "$name"` + nm "$name" | sed "s/^/$b: /" +done | grep -i ' c ' | sort -k2 diff --git a/scripts/find_stray_communal_vars b/scripts/find_stray_communal_vars deleted file mode 100755 index 9f26bc7ac..000000000 --- a/scripts/find_stray_communal_vars +++ /dev/null @@ -1,10 +0,0 @@ -#!/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 -name '*.o' \ -| while read name; do - b=`basename "$name"` - nm "$name" | sed "s/^/$b: /" -done | grep -i ' c ' | sort -k2