3 # first argument is the header file
4 # second one the file to be changed
5 # use -i.orig above to make backup files
10 my $copyright_file = $ARGV[0];
12 open(H
, "< " . $copyright_file) || die("can't open " . $copyright_file . ": $!");
21 # skip initial empty lines
35 # look for comment beginning
37 die "comment not found\n";
40 # look for comment end
55 # output remaining lines