update_copyrights revision 0c27b3fe77ac1d5094ba3521e8142d9e7973133f
10139N/A# file, You can obtain one at http://mozilla.org/MPL/2.0/.
10139N/A# perl util/update_copyrights <util/copyrights
10139N/A my $f = $owner2filename{$owner};
10139N/A @copyright_text = <COPYRIGHT>;
10139N/A $owner2text{$owner} = [ @copyright_text ];
10139N/A($dummy,$dummy,$dummy,$dummy,$this_month,$this_year,$dummy,$dummy,$dummy) = localtime(time());
10139N/A $c_comment = 0;
10139N/A $shell_comment = 0;
10139N/A $m4_comment = 0;
10139N/A $sgml_comment = 0;
10139N/A $mkd_comment = 0;
10139N/A $zone_comment = 0;
10139N/A $man_comment = 0;
10139N/A $python_comment = 0;
10139N/A $c_comment = 1;
10139N/A $shell_comment = 1;
10139N/A $start_comment = "############################################################################\n";
10139N/A $end_comment = "############################################################################\n"
10139N/A $python_comment = 1;
10139N/A $start_comment = "############################################################################\n";
10139N/A $end_comment = "############################################################################\n"
10139N/A $zone_comment = 1;
10139N/A $man_comment = 1;
10139N/A $m4_comment = 1;
10139N/A $sgml_comment = 1;
10139N/A $mkd_comment = 1;
11965N/A $_ = <SOURCE> if $_ eq "############################################################################\n";
10139N/A $_ = <SOURCE> if $_ eq "############################################################################\n";
10139N/A print TARGET $before_copyright if $before_copyright;
10139N/A print TARGET $start_comment if $start_comment;
10139N/A $last_year = 0;
10139N/A $anchor_year = 0;
10139N/A $last_year = 0;
10139N/A $anchor_year = 0;
12787N/A print TARGET $end_comment if $end_comment;
10139N/A s:<articleinfo>.*?</articleinfo>:<articleinfo>\n$r </articleinfo>:s;