updateCopyright.pl 213 B

1234567
  1. #!/usr/bin/perl -i -w -p
  2. $NEWYEAR=2017;
  3. s/Copyright(.*) (201[^7]), The Tor Project/Copyright$1 $2-${NEWYEAR}, The Tor Project/;
  4. s/Copyright(.*)-(20..), The Tor Project/Copyright$1-${NEWYEAR}, The Tor Project/;