Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!ames!dftsrv!hq!mitch From: mitch@hq.af.mil (Mitch Wright) Newsgroups: comp.software-eng Subject: RE: Re: WANTED: "C" code line counter program Message-ID: Date: 11 Mar 91 22:59:53 GMT References: <1991Mar6.214157.18633@ntpal.uucp> <9082@suns6.crosfield.co.uk> Sender: mitch@hq.hq.af.mil Followup-To: comp.software-eng Organization: Air Force HQ, The Pentagon Lines: 33 In-reply-to: raj@crosfield.co.uk's message of 11 Mar 91 09:06:47 GMT /* * On 11 Mar 91 09:06:47 GMT, * raj@crosfield.co.uk (Ray Jones) said: * */ > I need a "C" code line counter program, preferably written in >"C". It will be used on several platforms, so solutions involving >shell scripts and other UNIX utilities won't work. I'm not very >picky (although I'd like something that did a little more than count >newlines :-) Ray> So how about one that counts semi-colons :-) Because: #include main() { printf(";;;; Hello World ;;;;\n"); } :-) -- ..mitch mitch@hq.af.mil (Mitch Wright) | The Pentagon, 1B1046 | (703) 695-0262 ``A system without PERL is like a hockey game without a fight.'' -- Mitch Wright