Count lines of source code

Samuel N Kamens snk at bae.bellcore.com
Fri Feb 22 07:45:22 AEST 1991


Hi,

Does anybody have or know of a routine that will count the 
actual statements in a file of C source code?  I want to
eliminate comments, and compress multi-line statements
to register as a single statement.

Replies by e-mail would be appreciated.

Thanks,

Sam Kamens

--

-------------------------------------------------------------------------------
Sam Kamens					Bell Communications Research
snk at bae.bellcore.com				Phone: (908) 699-7381
444 Hoes Lane  Room RRC 1C-205
Piscataway, NJ 08854



More information about the Comp.lang.c mailing list