Re: I symbolics still selling machines? does anyone use the lisp genera os?



På Sun, 29 Jul 2007 14:08:25 +0200, skrev Frank Buss <fb@xxxxxxxxxxxxx>:

Then you can measure the number of lines:

find . -exec cat {} \; | wc
8,499,410 29,654,309 244,866,374 (lines, words, chars)

find . -type f -name *.c -exec cat {} \; | wc
5,979,935 19,411,234 16,2966,504

find . -type f -name *.h -exec cat {} \; | wc
1,462,784 6,084,899 52,288,919


This might be nit picking but..

find . -type f \( -name '*.c' -or -name '*.h' \) -exec cat {} \; | wc -l

is a bit more succinct (the -l option just gives the lines)
.