> E.g. most of include/net/tcp.h pretty much only matters for
> net/ipv4/. It would be so nice if a grep -w thing *.[ch] in
> net/ipv4/ would really find all uses of "thing".
I always do this:
cd linux
find . \( -name 'Make*' -o -name '*.[hcS]' \) > src.list
cat src.list| LANG=C xargs grep foo
It's only a CPU time, really.
-- Pete
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/