Skip to content
Snippets Groups Projects
Commit 704e7dfb authored by Magali Ruffier's avatar Magali Ruffier Committed by GitHub
Browse files

Merge pull request #176 from thomasmaurel/annual_copyright_updater

Made the assumption that all the EBI copyright would start by 2016 bu…
parents fa69e5e6 d7f8813c
No related branches found
No related tags found
No related merge requests found
......@@ -34,8 +34,8 @@ for var in $dirs; do
year=$(date "+%Y")
last_year=$(($year - 1))
search="^\(.*\)\\[2016\(-*[0-9]*\)\\] EMBL-European Bioinformatics Institute"
replacement="\1[2016-$year] EMBL-European Bioinformatics Institute"
search="^\(.*\)\\[\([0-9]*\)\(-*[0-9]*\)\\] EMBL-European Bioinformatics Institute"
replacement="\1[\2-$year] EMBL-European Bioinformatics Institute"
echo "About to scan $(pwd) for files to replace '$search' with '$replacement'"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment