A series of commands ranging from simple to fairly complex will help you count lines, words or individual characters on the Linux command line. Linux includes some useful commands for counting when it ...
Do you care about statements, or just any line that contains something 'code-like-ish'. If the latter, i just use a regexp that looks something like this in VS: ^:b*:i ^ means match the beginning of ...