On 3/13/06, Roberto Mello <[EMAIL PROTECTED]> wrote: > On Mon, Mar 13, 2006 at 01:58:41PM -0700, Bryan Sant wrote: > > > > Python > > ------ > > LOC: 18 > > Are you counting empty lines then? Jonathan's code had 16 without blank > lines. > > -Roberto > > -- > Politically correct? I'm not even ANATOMICALLY correct!
Yes, I was, incorrectly counting lines. I was just doing wc -l <file>. Lazy, lazy. I should have done "cat <file> | grep -v ^$ | wc -l". The accurate count is: Python LOC is 15. Ruby LOC is 15. C++ LOC is 28. Java LOC is 32. Perl LOC is 32. -Bryan /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
