tor/scripts/maint/updateCopyright.pl

8 lines
213 B
Perl
Raw Normal View History

#!/usr/bin/perl -i -w -p
2019-01-16 18:33:09 +01:00
$NEWYEAR=2019;
2019-01-16 18:33:09 +01:00
s/Copyright(.*) (201[^9]), The Tor Project/Copyright$1 $2-${NEWYEAR}, The Tor Project/;
s/Copyright(.*)-(20..), The Tor Project/Copyright$1-${NEWYEAR}, The Tor Project/;