I want to count the number of lines of code in my code base.
I am thinking of doing something like:
grep –R “;” * | wc –l
except that counts all files (and I only want .h and .cpp).
How do I recursively count the number of lines in my code (roughly using the semi-colon)?