In Bash, how do I count the number of non-blank lines of code in a project?
This command count number of non-blank lines. cat fileName | grep -v ^$ | wc -l grep -v ^$ regular expression function is ignore blank lines.
cat fileName | grep -v ^$ | wc -l