I have several source code files in a multi-level directory which contain forward declaration to a function
extern "C" void myPrintf(char *fmt, ...);
I want to remove this declaration from all the files.
I could do a grep which prints the line containing that declaration for all the files but not sure how to pipe it with sed to get the desired result.
With GNU
sedIf you want to perform this recursively, you have two options:
With Bash 4.X
With find