Lines of Code?
Entry published may 25 2006
Want to know how many lines of code your project is? Run this command:
find . -name '*.[hm]' -exec cat {} \; | wc -l
Note: Header files in your project build directories can skew the result, you might want to empty out your build directories before running this. Change the file extensions in [hm] if you want to run this one something other than a Cocoa project.