Lines of code in Wine?

Alexandre Julliard julliard at winehq.org
Tue Aug 16 05:17:44 CDT 2005


Tom Wickline <twickline at gmail.com> writes:

> Okay I ran the numbers again with some help from Brian.
> Here is how were calculating it from a clean CVS download from about 
> 10 minutes ago.
>
> $wc -l `find . -name "*" -exec file {} \; | grep "ASCII C" | awk -F\:
> '{print $1}'`
> <snip>
> 1,526,983 total
>
> Does this look correct? 
> Alexandre may I ask how you do the calculations?

I've been using something like this:

 wc -l `find . -name "*.[chS]" -print -o -name "*.spec" -print | grep -v unicode/c_ | grep -v wineps/data/` | tail -1

It should probably be updated to count idl files too.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list