2010

2009

2007

2006

2005

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.

← Previous: Lua and Kiwi  //  Next: Where are the kick ass e-mail clients?

comments