Re: Finding dependencies
On 2/21/06, Justin Pryzby <justinpryzby@users.sourceforge.net> wrote:
> One technique for finding these is to grep for
> included headers, something like grep -r '^#include <' . |sort -u
May I suggest:
grep -r "\s*#include\s\s<" . |sort -u
as it perfectly legal to place the includes at some whitespaces away
from column 0 and some coding style could say that after #include one
should have (e.g.) a tab...
--
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein
Reply to: