Reply To: Project "lines of code" counter

Product Compare Forums Multi-Edit Support Project "lines of code" counter Reply To: Project "lines of code" counter

#3288
Clay Martin
Keymaster

Just keep on piping! :wink:
grep -v <whitespace regex> filename|grep -v <comment regex>| grep -v <whateverelsenotwanted regex> |wc -l
Aint Unix utilities fun! :D

Of course one could just set up all the trims in a file and feed it into sed, then pipe to wc….

Cheers,
Clay