Path: utzoo!utgpu!watmath!att!tut.cis.ohio-state.edu!cica!ctrsol!ginosko!uunet!pdn!dinsdale!reggie
From: reggie@dinsdale.nm.paradyne.com (George W. Leach)
Newsgroups: comp.software-eng
Subject: Re: C source lines in file
Keywords: C
Message-ID: <6500@pdn.paradyne.com>
Date: 14 Aug 89 12:57:58 GMT
References: <35120@ccicpg.UUCP> <10707@smoke.BRL.MIL>
Sender: news@pdn.paradyne.com
Reply-To: reggie@dinsdale.paradyne.com (George W. Leach)
Organization: AT&T Suncoast Division, Largo FL
Lines: 26

In article <10707@smoke.BRL.MIL> gwyn@brl.arpa (Doug Gwyn) writes:
>In article <35120@ccicpg.UUCP> swonk@ccicpg.UUCP (Glen Swonk) writes:
>-Does anyone have a program or a method of determing
>-the number of C source lines in a source file?
>-My assumption is that comments don't count as source
>-lines unless the comment is on a line with code.

>What precisely is this supposed to measure?

   I also want to know just what you are going to measure with this number?

   A much simplier approach would be to use awk to strip out what you don't
want and  pipe to wc.


   Then again, a much simplier way to measure code size with equally worthwhile
scientific precision is to just measure the thinkness of your printouts with
a ruler :-)




George W. Leach					AT&T Paradyne 
(uunet|att)!pdn!reggie				Mail stop LG-133
Phone: 1-813-530-2376				P.O. Box 2826
FAX: 1-813-530-8224				Largo, FL  USA  34649-2826