<div class="gmail_quote">On Mon, Mar 14, 2011 at 15:34, Ethan Coon <span dir="ltr"><<a href="mailto:ecoon@lanl.gov">ecoon@lanl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":1hw">Related to this, do you guys have a standard way of finding all such<br>
instances?  I was using grep/find (and then checking the compilation<br>
output), but I'm sure my find was missing a few files.</div></blockquote></div><br><div>Depends on your editor, but there are "tags" for Emacs and Vim (slightly different in each case, but basically the same). Most IDEs have some sort of symbol-reference lookup functionality built in. You can also use GNU Global which retains a bit more information than the usual TAGS. I often end up using recursive grep to locate files with a certain property and then edit them using sed or perl -pi -e (for mechanical things). In addition to the tags searches, you can have Emacs visit every location that matches a grep query.</div>