view scripts/findglobals.sh @ 1099:71326585c02d draft

Cleanup nl, add support for more bits of posix.
author Rob Landley <rob@landley.net>
date Sun, 27 Oct 2013 02:48:13 -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