I have a folder full of my code, what shell script can I use to find out the total amount of lines of code?
|
feedback
|
|
A very simple solution would be If you want something more sophisticated, use sloccount. You can install it e.g. using Homebrew:
Run it on the folder containing the code, like this:
It'll give you lines by programming language and directory. | |||||
|
feedback
|
|
If you just want to count the number of lines in text files, try | |||
|
feedback
|