tor/scripts/maint/updateCopyright.pl
Nick Mathewson fc0febc5c6 Commit the update-copyrights script.
(I'm tired of rewriting this by hand every January)
2015-01-02 14:28:21 -05:00

8 lines
213 B
Perl
Executable File

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