update_copyrights revision 5fbced719b71e659322b4ce3e4a39c9b039674c7
5fbced719b71e659322b4ce3e4a39c9b039674c7Bob Halley# Copyright (C) 1998, 1999 Internet Software Consortium.
5fbced719b71e659322b4ce3e4a39c9b039674c7Bob Halley# Permission to use, copy, modify, and distribute this software for any
5fbced719b71e659322b4ce3e4a39c9b039674c7Bob Halley# purpose with or without fee is hereby granted, provided that the above
5fbced719b71e659322b4ce3e4a39c9b039674c7Bob Halley# copyright notice and this permission notice appear in all copies.
5fbced719b71e659322b4ce3e4a39c9b039674c7Bob Halley# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
5fbced719b71e659322b4ce3e4a39c9b039674c7Bob Halley# ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
5fbced719b71e659322b4ce3e4a39c9b039674c7Bob Halley# OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
5fbced719b71e659322b4ce3e4a39c9b039674c7Bob Halley# CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
5fbced719b71e659322b4ce3e4a39c9b039674c7Bob Halley# DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
5fbced719b71e659322b4ce3e4a39c9b039674c7Bob Halley# PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
5fbced719b71e659322b4ce3e4a39c9b039674c7Bob Halley# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
b897c52f865b2fc4e220e2110b874e59c716456bBob Halleyopen(COPYRIGHT, "<$ARGV[0]") || die "can't open $ARGV[0]: $!";
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley } elsif ($type eq "SH" || $type eq "PERL" || $type eq "MAKE") {
efd6c944a4ebd3fb65dc39f9172d322198b2b1d3Bob Halley print "$file: type '$type' not supported yet; skipping\n";
b897c52f865b2fc4e220e2110b874e59c716456bBob Halley open(SOURCE, "<$file") || die "can't open $file: $!";
b897c52f865b2fc4e220e2110b874e59c716456bBob Halley open(TARGET, ">$file.new") || die "can't open $file.new: $!";
b897c52f865b2fc4e220e2110b874e59c716456bBob Halley rename("$file", "$file.bak") || die "rename($file, $file.bak): $!";
b897c52f865b2fc4e220e2110b874e59c716456bBob Halley rename("$file.new", "$file") || die "rename($file.new, $file): $!";