Hi, I make some improvement to the script, now it only print files that contains more than 5 lines of changes, which should be qualified as significant.
grep -lie "Copyright (C).*\(199[0-9]\|200[^9]\) *Free" `git diff --stat @{2009-01-01}..HEAD 2>/dev/null | gawk '{ if (($2 == "|") && ($3 > 5)) print $1}'` 2>/dev/null The list: Makefile.in bus/usb/ohci.c bus/usb/uhci.c bus/usb/usb.c bus/usb/usbhub.c bus/usb/usbtrans.c commands/blocklist.c commands/cat.c commands/cmp.c commands/crc.c commands/date.c commands/echo.c commands/halt.c commands/help.c commands/hexdump.c commands/i386/cpuid.c commands/i386/pc/halt.c commands/i386/pc/play.c commands/i386/pc/pxecmd.c commands/i386/pc/vbeinfo.c commands/i386/pc/vbetest.c commands/ieee1275/suspend.c commands/ls.c commands/lsmmap.c commands/read.c commands/reboot.c commands/search.c commands/sleep.c commands/test.c commands/usbtest.c configure disk/fs_uuid.c disk/ieee1275/nand.c disk/ieee1275/ofdisk.c disk/loopback.c disk/lvm.c disk/raid.c disk/scsi.c disk/usbms.c fs/affs.c fs/afs.c fs/cpio.c fs/ext2.c fs/hfs.c fs/hfsplus.c fs/i386/pc/pxe.c fs/iso9660.c fs/jfs.c fs/minix.c fs/ntfs.c fs/reiserfs.c fs/sfs.c fs/udf.c fs/ufs.c fs/xfs.c genmk.rb hello/hello.c include/grub/datetime.h include/grub/disk.h include/grub/efi/api.h include/grub/efi/pe32.h include/grub/fs.h include/grub/i386/bsd.h include/grub/i386/pc/memory.h include/grub/i386/pci.h include/grub/ieee1275/ieee1275.h include/grub/lib/arg.h include/grub/memory.h include/grub/misc.h include/grub/sparc64/ieee1275/ieee1275.h include/grub/sparc64/kernel.h include/grub/sparc64/libgcc.h include/grub/term.h include/grub/types.h include/grub/usb.h include/grub/usbdesc.h include/grub/usbtrans.h kern/device.c kern/disk.c kern/dl.c kern/efi/efi.c kern/i386/coreboot/init.c kern/i386/efi/startup.S kern/i386/loader.S kern/i386/pc/init.c kern/i386/pc/startup.S kern/ieee1275/ieee1275.c kern/ieee1275/openfw.c kern/main.c kern/mm.c kern/sparc64/dl.c kern/x86_64/dl.c lib/arg.c lib/hexdump.c loader/efi/appleloader.c loader/efi/chainloader.c loader/i386/bsd.c loader/i386/ieee1275/linux.c loader/i386/pc/chainloader.c loader/i386/pc/linux.c loader/multiboot_loader.c loader/powerpc/ieee1275/linux.c normal/cmdline.c normal/completion.c normal/datetime.c normal/menu_entry.c normal/misc.c term/efi/console.c term/i386/pc/serial.c term/terminfo.c util/console.c util/deviceiter.c util/elf/grub-mkimage.c util/grub-emu.c util/grub-fstest.c util/grub-mkdevicemap.c util/grub-pe2elf.c util/grub.d/30_os-prober.in util/hostfs.c util/i386/pc/grub-install.in util/i386/pc/grub-setup.c util/usb.c On Tue, May 5, 2009 at 2:00 AM, Robert Millan <r...@aybabtu.com> wrote: > On Mon, May 04, 2009 at 07:52:39PM +0200, Vladimir 'phcoder' Serbinenko wrote: >> On Mon, May 4, 2009 at 7:40 PM, Bean <bean12...@gmail.com> wrote: >> >> > Hi, >> > >> > Well, I just write a small script to detect files that needs updating. >> > BTW, I use git to access the svn repository: >> > >> With the following script : >> sed "s/ Free/,2009 Free/g;" < $1 > ./tmp >> cp ./tmp $1 >> >> xargs and this list I generated a patch to update all these files > > Unfortunately they can't be automagically updated. Technically it has to > be done only when we check-in copyright-significant changes, and there's no > automated way to test that. > > It's not such a big deal, but it's good to send a reminder from time to time, > so people (me included! ;-)) keep it in mind. > > -- > Robert Millan > > The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and > how) you may access your data; but nobody's threatening your freedom: we > still allow you to remove your data and not access it at all." > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Bean _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel