tor/scripts/maint/updateCopyright.pl
2019-01-16 12:33:09 -05:00

8 lines
213 B
Perl
Executable File

#!/usr/bin/perl -i -w -p
$NEWYEAR=2019;
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/;