[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070615180149.GB4952@alinoe.com>
Date: Fri, 15 Jun 2007 20:01:49 +0200
From: Carlo Wood <carlo@...noe.com>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc: Alan Cox <alan@...rguk.ukuu.org.uk>,
Paulo Marques <pmarques@...popie.com>,
Bernd Paysan <bernd.paysan@....de>,
Al Viro <viro@....linux.org.uk>,
Krzysztof Halasa <khc@...waw.pl>, linux-kernel@...r.kernel.org
Subject: Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
This was actually a part of a larger reply - but I decided not to sent
that. Didn't want to throw away the work I did to get accurate numbers
though ;)
I investigated:
find -name "*.c" | wc --lines
11100
find -name "*.c" | xargs egrep "(version 2.*([Ll]icense|redistribute|released|GNU|GPL|any later version|Foundation))|(([Ll]icense|redistribute|released|GNU|GPL|any later version|Foundation).*version 2)" | sed -e 's/:.*//' | sort -u | wc --lines
4042
find -name "*.c" | xargs egrep "(version 2.*([Ll]icense|redistribute|released|GNU|GPL|any later version|Foundation))|(([Ll]icense|redistribute|released|GNU|GPL|any later version|Foundation).*version 2)" | egrep -v '(either version 2(\.[0-9])*|version 2(\.[0-9])*( of the License)*,* or)' | sed -e 's/:.*//' | sort -u | wc --lines
1377
find -name "*.c" | xargs egrep "(version 2.*([Ll]icense|redistribute|released|GNU|GPL|any later version|Foundation))|(([Ll]icense|redistribute|released|GNU|GPL|any later version|Foundation).*version 2)" | egrep -v '(either version 2(\.[0-9])*|version 2(\.[0-9])*( of the License)*,* or)' | sed -e 's/:.*//' | sort -u | xargs grep 'any later version' | wc --lines
4
Hence there are 1377 - 4 = 1373 .c files that explicitely say 'version 2',
and 4042 - 1373 = 2669 .c files that say 'version 2 or later'.
There are 11100 - 1373 - 2669 = 7058 files that do not say anything.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists