On 24.10.2011 00:10, pancake wrote:
Use sloccount. It doesnt matters how do you indent with this tool..
Well, some syntaxes are not handled at all like if().. And if()\n..
But you get proper loccount

Thanks for the info. I've used sloccount before but never tried to
understand how it computes its results.

By the way, if you want want to become rich quickly, use Rails and
sloccount:

    # [code below from the Rails tutorial]
    rails new blog
    cd blog
    rails generate controller home index
    rails generate scaffold Post name:string title:string content:text
    sloccount . | grep Cost # $ 5,143


Reply via email to