update_copyrights revision b2f875a5354d86715284ed1e34dbad5b5c23f3ae
4737N/A# perl util/update_copyrights <util/copyrights
6011N/A my $f = $owner2filename{$owner};
5680N/A @copyright_text = <COPYRIGHT>;
4737N/A $owner2text{$owner} = [ @copyright_text ];
5851N/A $file_types{$file} = $type;
4737N/A $c_comment = 0;
5336N/A $shell_comment = 0;
5336N/A $m4_comment = 0;
5336N/A $sgml_comment = 0;
5336N/A $zone_comment = 0;
4737N/A $man_comment = 0;
5680N/A $c_comment = 1;
4897N/A $shell_comment = 1;
4737N/A $zone_comment = 1;
4737N/A $man_comment = 1;
4737N/A $m4_comment = 1;
4737N/A $sgml_comment = 1;
$_ = <SOURCE>;
$_ = <SOURCE>;
$_ = <SOURCE>;
last if $_ =~ /\*\//;
$_ = <SOURCE>;
$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;
$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;