Skip to content
Snippets Groups Projects
Commit 66eb0a5a authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

updateCopyright: look at the current year.

parent 2f31c814
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/perl -i -w -p
$NEWYEAR=2019;
@now = gmtime();
s/Copyright(.*) (201[^9]), The Tor Project/Copyright$1 $2-${NEWYEAR}, The Tor Project/;
$NEWYEAR=$now[5]+1900;
s/Copyright([^-]*) (20[^-]*), The Tor Project/Copyright$1 $2-${NEWYEAR}, The Tor Project/;
s/Copyright(.*)-(20..), The Tor Project/Copyright$1-${NEWYEAR}, The Tor Project/;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment