So i was watching Jurassic Park the other day and there's a line in there that Samuel L Jackson says about there about "about 2 million lines of code" to run Jurassic Park, so I was curious how much is in MAME now, so I ran the following:
[mamesrc]$ total=0; for x in `find ./ -name *.c `; do i=`cat $x | wc -l`; total=$(($total+$i)); done; for y in `find ./ -name *.h`; do j=`cat $y | wc -l`; total=$(($total+$j)); done; echo $total 2692392
So MAME has more than Jurassic Park
I'm not sure if I did that 100% correctly. Should .h files be included? Is there another extension that valid i'm missing?
|