scuffed-code/tools/scripts/cpysearch
Steven R. Loomis 17fc0d7fbf ICU-5946 update cpysearch
X-SVN-Rev: 22702
2007-09-18 22:44:35 +00:00
..
cpyscan.pl
cpysearch.pl ICU-5946 update cpysearch 2007-09-18 22:44:35 +00:00
readme.txt ICU-5946 update cpysearch 2007-09-18 22:44:35 +00:00

Copyright (c) 2002-2007, International Business Machines Corporation and others. All Rights Reserved.


cpysearch.pl is a perl script used to detect the files that might not have the copyright notice. Best when used on windows on a clean checkout. Edit $icuSource to your path. If you are working on other platform, you probably want to edit $ignore to reflect different temporary files that you don't want in the scan. The result will be the list of files that don't have word copyright (case ignored) in first 10 lines. Look at them and fix if needed. 

cpysearch.pl  searches for files modified this year that don't have the
  correct year copyright (i.e. 'copyright 1995') 

cpyscan.pl    searches for all files that don't have any copyright

cpyskip.txt  is part of the ignore list. Download the latest from
   http://source.icu-project.org/cpyskip.txt

more docs on copyright scan at:
   http://icu-project.org/copyright-scan.html




Have fun!
weiv