tor/scripts/maint/updateCopyright.pl

8 lines
213 B
Perl
Raw Normal View History

#!/usr/bin/perl -i -w -p
2016-02-27 18:48:19 +01:00
$NEWYEAR=2016;
2016-02-27 18:48:19 +01:00
s/Copyright(.*) (201[^6]), The Tor Project/Copyright$1 $2-${NEWYEAR}, The Tor Project/;
s/Copyright(.*)-(20..), The Tor Project/Copyright$1-${NEWYEAR}, The Tor Project/;