In Bash, how do I count the number of non-blank lines of code in a project?
The neatest command is
grep -vc ^$ fileName
with -c option, you don't even need wc -l
-c
wc -l