view scripts/findglobals.sh @ 1553:2423dd884182 draft

sed: implement s & and \1 backrefs.
author Rob Landley <rob@landley.net>
date Fri, 14 Nov 2014 15:53:17 -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