Re: [HACKERS] Now 376175 lines of code

2000-10-21 Thread Gunnar R|nning
Bruce Momjian <[EMAIL PROTECTED]> writes: > I just counted lines, not line content. Not sure which is more > meaningful. Our comments are as important as the code, sometimes, > though they do not add functionality to the application. I am not > inclined to inflate numbers, but I am not sure th

Re: [HACKERS] Now 376175 lines of code

2000-10-20 Thread Peter Eisentraut
Ross J. Reedstrom writes: > For example, no one seems to have commented on the -8% of inline > comments reported by Peter's c_count! Funny math, indeed. If you had actually done the math ;-) you would have noticed that the percentage of the inline comments is negative because those lines have bo

Re: [HACKERS] Now 376175 lines of code

2000-10-20 Thread Ross J. Reedstrom
On Fri, Oct 20, 2000 at 01:30:25PM -0400, Bruce Momjian wrote: > I compute the code count with: > > find . -name \*.[chyl] | xargs cat| wc -l Right, that solves the problem others might be seeing, with the command line getting expanded and silently chopped off. For example, no one seems to

Re: [HACKERS] Now 376175 lines of code

2000-10-20 Thread Karel Zak
On Fri, 20 Oct 2000, Hannu Krosing wrote: > Peter Eisentraut wrote: > > > > Bruce Momjian writes: > > > > > FYI, it is 376k lines of C code, not bytes. > > > > How did you calculate that? I get this using c_count over all .c and .h > > files: > > > > 20903 lines had comments25.4 %

Re: [HACKERS] Now 376175 lines of code

2000-10-20 Thread Bruce Momjian
I compute the code count with: find . -name \*.[chyl] | xargs cat| wc -l -- Bruce Momjian| http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup.

Re: [HACKERS] Now 376175 lines of code

2000-10-20 Thread Hannu Krosing
Peter Eisentraut wrote: > > Bruce Momjian writes: > > > FYI, it is 376k lines of C code, not bytes. > > How did you calculate that? I get this using c_count over all .c and .h > files: > > 20903 lines had comments25.4 % > 6603 comments are inline -8.0 % > 11911 lines were

Re: [HACKERS] Now 376175 lines of code

2000-10-20 Thread Bruce Momjian
> Bruce Momjian writes: > > > FYI, it is 376k lines of C code, not bytes. > > How did you calculate that? I get this using c_count over all .c and .h > files: > > 20903 lines had comments25.4 % > 6603 comments are inline -8.0 % > 11911 lines were blank 14.5 % >

Re: [HACKERS] Now 376175 lines of code

2000-10-20 Thread Peter Eisentraut
Bruce Momjian writes: > FYI, it is 376k lines of C code, not bytes. How did you calculate that? I get this using c_count over all .c and .h files: 20903 lines had comments25.4 % 6603 comments are inline -8.0 % 11911 lines were blank 14.5 % 7287 lines for prepro

Re: [HACKERS] Now 376175 lines of code

2000-10-19 Thread Bruce Momjian
o: Ross J. Reedstrom > Cc: Tom Lane; PostgreSQL-development > Subject: Re: [HACKERS] Now 376175 lines of code > > > Never mind. I see I ran it already on 7.0 and got 376k. You used my > idential script to get these numbers. I will use your nice numbers for > a presentation

Re: [HACKERS] Now 376175 lines of code

2000-10-19 Thread Bruce Momjian
Never mind. I see I ran it already on 7.0 and got 376k. You used my idential script to get these numbers. I will use your nice numbers for a presentation at the show in two weeks. Thanks a lot. > On Thu, May 11, 2000 at 01:45:31AM -0400, Tom Lane wrote: > > Bruce Momjian <[EMAIL PROTECTED]>