
30 Jun
2009
30 Jun
'09
7:07 p.m.
On Mon, Jun 29, 2009 at 10:03:09PM -0400, Jerry Van Baren wrote:
Total number of files that are GPLv2: $ grep -i -r 'Free Software Foundation' * | grep -i 'version 2' > ~/ugplv2.txt $ wc -l ~/ugplv2.txt 4588
This assumes "version 2" and "Free Software Foundation" are on the same line...
76 files are GPLv2 *ONLY*: $ grep -i -v 'either version 2' ~/ugplv2.txt | awk '{print $1}' | sed 's/:$//'
...causing drivers/mtd/nand/nand_base.c, for example, to be missed here.
-Scott