[tor/master] Commit the update-copyrights script.

2 Jan
2015
2 Jan
'15
7:28 p.m.
commit fc0febc5c62a8c5ad2373b43641a70a8d793a469 Author: Nick Mathewson <nickm@torproject.org> Date: Fri Jan 2 14:28:21 2015 -0500 Commit the update-copyrights script. (I'm tired of rewriting this by hand every January) --- scripts/maint/updateCopyright.pl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/maint/updateCopyright.pl b/scripts/maint/updateCopyright.pl new file mode 100755 index 0000000..ec82616 --- /dev/null +++ b/scripts/maint/updateCopyright.pl @@ -0,0 +1,7 @@ +#!/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/;
3801
Age (days ago)
3801
Last active (days ago)
0 comments
1 participants
participants (1)
-
nickm@torproject.org