I am using the following command for counting the lines of text in JAVA files:
find . -name '*.java' | xargs wc -l
How can I modify the
find command parameters to match more than one file extension? For example, I would like use the above operation for CPP, C, and H files.