updateCopyright.pl 242 B

123456789
  1. #!/usr/bin/perl -i -w -p
  2. @now = gmtime();
  3. $NEWYEAR=$now[5]+1900;
  4. s/Copyright([^-]*) (20[^-]*), The Tor Project/Copyright$1 $2-${NEWYEAR}, The Tor Project/;
  5. s/Copyright(.*)-(20..), The Tor Project/Copyright$1-${NEWYEAR}, The Tor Project/;