Xref: utzoo comp.lang.c:36377 comp.sources.wanted:15384 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!att!bellcore!bae!snk From: snk@bae.bellcore.com (Samuel N Kamens) Newsgroups: comp.lang.c,comp.sources.wanted Subject: Count lines of source code Message-ID: <1991Feb21.204522.1195@bellcore.bellcore.com> Date: 21 Feb 91 20:45:22 GMT Sender: usenet@bellcore.bellcore.com (Poster of News) Reply-To: snk@bae.bellcore.com (Samuel N Kamens) Organization: Bell Communications Research Lines: 21 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@bae.bellcore.com Phone: (908) 699-7381 444 Hoes Lane Room RRC 1C-205 Piscataway, NJ 08854