update_copyrights revision 9640c35421ba0bb4af6b6bfbff695d2a0ac560b3
1N/A# perl util/update_copyrights <util/copyrights
1N/A my $f = $owner2filename{$owner};
1N/A @copyright_text = <COPYRIGHT>;
1N/A $owner2text{$owner} = [ @copyright_text ];
1N/Amy $years_list;
1N/A $file_types{$file} = $type;
1N/A $file_years{$file} = $years;
1N/A $textp = $owner2text{$owner};
1N/A $c_comment = 0;
1N/A $shell_comment = 0;
1N/A $m4_comment = 0;
1N/A $sgml_comment = 0;
1N/A $zone_comment = 0;
1N/A $man_comment = 0;
1N/A $python_comment = 0;
1N/A $c_comment = 1;
1N/A $shell_comment = 1;
1N/A $python_comment = 1;
1N/A $start_comment = "############################################################################\n";
1N/A $end_comment = "############################################################################\n"
1N/A $zone_comment = 1;
1N/A $man_comment = 1;
1N/A $m4_comment = 1;
1N/A $sgml_comment = 1;
$first = $_;
last;
$first = $_;
$_ = <SOURCE>;
$_ = <SOURCE> if $_ eq "############################################################################\n";
$first = $_;
last;
$first = $_;
$_ = <SOURCE>;
$first = $_;
last;
$_ = <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;