Xref: utzoo alt.sources.wanted:1079 comp.sources.wanted:15797 comp.software-eng:5088 Path: utzoo!utgpu!cs.utexas.edu!uwm.edu!caen!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!uunet!mcsun!inesc!unl!unl!jpc From: jpc@fct.unl.pt (Jose Pina Coelho) Newsgroups: alt.sources.wanted,comp.sources.wanted,comp.software-eng Subject: Re: WANTED: "C" code line counter program Message-ID: Date: 17 Mar 91 16:22:20 GMT References: <1991Mar6.214157.18633@ntpal.uucp> <1991Mar11.182848.26693@comm.wang.com> <2969@inews.intel.com> <1991Mar14.192419.1576@comm.wang.com> Sender: news@fct.unl.pt (USENET News System) Organization: Universidade Nova de Lisboa -- Lisbon, Portugal Lines: 22 In-Reply-To: lws@comm.wang.com's message of 14 Mar 91 19:24:19 GMT In article <1991Mar14.192419.1576@comm.wang.com> lws@comm.wang.com (Lyle Seaman) writes: bhoughto@pima.intel.com (Blair P. Houghton) writes: >In article <1991Mar11.182848.26693@comm.wang.com> lws@comm.wang.com (Lyle Seaman) writes: >>Counting semi-colons is a pretty good approach, as that counts C >>statements. Lines is kind of less meaningful. Counting '{' is >>an interesting one, too. >{{{{{{{{printf("Oh, if I were a rich man... ;;;;;;;;;;;;;;;;;;;;;;;\n");}}}}}}}} [... How to fool char counters ...] Why not compile the sources and checking the size of object code ? -- Jose Pedro T. Pina Coelho | BITNET/Internet: jpc@fct.unl.pt Rua Jau N 1, 2 Dto | UUCP: ...!mcsun!unl!jpc 1300 Lisboa, PORTUGAL | Home phone: (+351) (1) 640767 - If all men were brothers, would you let one marry your sister ?