view scripts/findglobals.sh @ 890:c7e7b159568d

The host sort on many distros behaves stupidly, and sorts stuff in non-ascii order by default. Make it stop.
author Rob Landley <rob@landley.net>
date Mon, 29 Apr 2013 16:00:40 -0500
parents a3268a1c055e
children
line wrap: on
line source

#!/bin/bash

# Quick and dirty check to see if anybody's leaked global variables.
# We should have this, toy_list, toybuf, and toys.

nm toybox_unstripped | grep '[0-9A-Fa-f]* [BCDGRS]' | cut -d ' ' -f 3