coccigrep
coccigrep copied to clipboard
Macro expansion
It would be nice if macros were expanded before coccigrep process the files, but I can't think of a very convenient solution.
For a single file I would do something like: grep -v "^#include" | cpp | coccigrep -t foo -a bar
But ideally the user shouldn't have to think about it. If someone has an idea...