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
Try ack, which is way better than grep. Color highlighting, the works...
$ ack funcion_name
Prints out all uses of function_name searching recursively through source files, it also is smart enough to ignore .svn and other metadata
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With