1、批量添加license:PrefixLicense.pl
(1)给单一c/c++源文件添加license:
perl PrefixLicense.pl apache_license src_file
(2)给目录下的所有c/c++源文件批量添加license:
perl PrefixLicense.pl apache_license src_dir