view scripts/findglobals.sh @ 1759:fa8f0a5dfc11 draft

tail: add old -123 support and comment out #-f until it's actually implemented.
author Rob Landley <rob@landley.net>
date Fri, 27 Mar 2015 21:25:44 -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