Find declaration and definition of function using bash

Posted by Werner on Stack Overflow See other posts from Stack Overflow or by Werner
Published on 2010-03-13T16:33:19Z Indexed on 2010/03/13 16:35 UTC
Read the original article Hit count: 238

Filed under:

Hi,

I am having a look af a big C++ project with more than 100 files. Given a certain function name, how can one find just using bash tools like find or grep, the declaration and the defintion of a function?

Thanks

© Stack Overflow or respective owner

Related posts about bash