tor/scripts/maint/updateCopyright.pl

8 lines
213 B
Perl
Raw Normal View History

#!/usr/bin/perl -i -w -p
2018-06-20 14:13:28 +02:00
$NEWYEAR=2018;
2018-06-20 14:13:28 +02:00
s/Copyright(.*) (201[^8]), The Tor Project/Copyright$1 $2-${NEWYEAR}, The Tor Project/;
s/Copyright(.*)-(20..), The Tor Project/Copyright$1-${NEWYEAR}, The Tor Project/;