view scripts/findglobals.sh @ 1556:e7944f8fdcbb draft

Debugging pass on sed: make the existing test suite pass.
author Rob Landley <rob@landley.net>
date Sat, 15 Nov 2014 16:16:29 -0600
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