view scripts/findglobals.sh @ 1501:c51a4dbe5db7 draft

Don't segfault for --help of single.sh build of OLDTOY commands that use another command's help.
author Rob Landley <rob@landley.net>
date Sat, 27 Sep 2014 19:58:18 -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