HP3000-L Archives

October 1997, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Stan Sieler <[log in to unmask]>
Reply To:
Stan Sieler <[log in to unmask]>
Date:
Fri, 3 Oct 1997 17:26:30 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
Ish writes:
> linecount - commentlinecount = truecount

Not just comments...you probably want to exclude blank lines (of which
there are many in well written code :)

Check out:

  http://www.allegro.com/software

and look for COUNTNB ... or, go straight to:

   http://www.allegro.com/software/index.html#COUNTNB

Sample run & output:

   :run countnb < foo
   #Lines:   7230, #Code:   5210, #Blank:   1706, #Comments:    314

--
Stan Sieler                                          [log in to unmask]
                                     http://www.allegro.com/sieler.html

ATOM RSS1 RSS2