update_copyrights revision 0ba25dfc4cecede3228acf372b3373880a5355b0
2N/A# perl util/update_copyrights <util/copyrights
2N/A my $f = $owner2filename{$owner};
2N/A @copyright_text = <COPYRIGHT>;
2N/A $owner2text{$owner} = [ @copyright_text ];
2N/Amy $years_list;
2N/A $file_types{$file} = $type;
2N/A $file_years{$file} = $years;
2N/A $textp = $owner2text{$owner};
2N/A $c_comment = 0;
2N/A $shell_comment = 0;
2N/A $m4_comment = 0;
2N/A $sgml_comment = 0;
2N/A $zone_comment = 0;
2N/A $man_comment = 0;
2N/A $python_comment = 0;
2N/A $c_comment = 1;
2N/A $shell_comment = 1;
2N/A $python_comment = 1;
2N/A $start_comment = "############################################################################\n";
2N/A $end_comment = "############################################################################\n"
2N/A $zone_comment = 1;
2N/A $man_comment = 1;
2N/A $m4_comment = 1;
2N/A $sgml_comment = 1;
2N/A $_ = <SOURCE> if $_ eq "############################################################################\n";
$_ = <SOURCE>;
$_ = <SOURCE>;
$_ = <SOURCE>;
last if s/.*-->//;
$_ = <SOURCE>;
$first = $_;
$first = $_;
/Permission to use, copy, modify, and / ||
$first = $_;
$first = $_;
print TARGET $before_copyright if $before_copyright;
print TARGET $start_comment if $start_comment;
$last_year = 0;
$anchor_year = 0;
$last_year = $year;
$last_year = 0;
$anchor_year = 0;
$last_year = $year;
$last_year = 0;
$anchor_year = 0;
my $andor = 0;
my $noid = 0;
$last_year = $year;
$firstline =~ s/\@SYSYEARS\@/$sysyears/;
$secondline =~ s/\@SFTYEARS\@/$sftyears/;
print TARGET $secondline =~ /^$/ ? $nonspaceprefix : $prefix;
print TARGET $end_comment if $end_comment;
$_ = $body;
undef $/;
$_ = <SOURCE>;
s:<articleinfo>.*?</articleinfo>:<articleinfo>\n$r </articleinfo>:s;