2006-07-13

Crude Code Line Counting

I used the following UNIX pipe to perform crude code line counting:

find . -name '*.java' -not -wholename '*/generated/*' -exec cat {} \; |
sed -e '/^[ \t]*$/d' |
wc -l

Every non-blank line is counted.