update_copyrights revision 5fbced719b71e659322b4ce3e4a39c9b039674c7
f0cbe180f0ec1a660b397886c55c592bbbcbb4aeTinderbox User# Copyright (C) 1998, 1999 Internet Software Consortium.
db8938c993d3eaeae1d86feb1b5da511831a9014Mark Andrews# Permission to use, copy, modify, and distribute this software for any
db8938c993d3eaeae1d86feb1b5da511831a9014Mark Andrews# purpose with or without fee is hereby granted, provided that the above
db8938c993d3eaeae1d86feb1b5da511831a9014Mark Andrews# copyright notice and this permission notice appear in all copies.
db8938c993d3eaeae1d86feb1b5da511831a9014Mark Andrews# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
db8938c993d3eaeae1d86feb1b5da511831a9014Mark Andrews# ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
db8938c993d3eaeae1d86feb1b5da511831a9014Mark Andrews# OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
db8938c993d3eaeae1d86feb1b5da511831a9014Mark Andrews# CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
db8938c993d3eaeae1d86feb1b5da511831a9014Mark Andrews# DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
db8938c993d3eaeae1d86feb1b5da511831a9014Mark Andrews# PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
db8938c993d3eaeae1d86feb1b5da511831a9014Mark Andrews# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
db8938c993d3eaeae1d86feb1b5da511831a9014Mark Andrews die "usage: update_copyrights <copyright_text>";
db8938c993d3eaeae1d86feb1b5da511831a9014Mark Andrewsopen(COPYRIGHT, "<$ARGV[0]") || die "can't open $ARGV[0]: $!";
$shell_comment = 1;
$_ = <SOURCE>;
$_ = <SOURCE>;
last;
$_ = <SOURCE>;
$_ = <SOURCE>;
$first = $_;
last;
$first = $_;
$first = $_;
print TARGET $before_copyright;
$first_year = 1;
$first_year = 0;
print TARGET $_;