view scripts/findglobals.sh @ 983:c38c25282b88

Cleanup grep: help text, whitespace, add parentheses.
author Rob Landley <rob@landley.net>
date Thu, 01 Aug 2013 17:21:38 -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