diff options
author | Wohlstand <admin@wohlnet.ru> | 2020-02-22 13:04:39 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2020-02-22 13:04:39 +0300 |
commit | 6ae9ca1265f8249af680f366b5a56934c7b2d7bb (patch) | |
tree | db29afc329050729852bfcc86b8b3419ad74ea15 /utils/update-copyright.sh | |
parent | b92112685b1d1ba0ae376069bc42d61300a97fa1 (diff) | |
parent | 58c5becbdfd451b4181661a5ff2d3e556e4e8501 (diff) | |
download | libADLMIDI-6ae9ca1265f8249af680f366b5a56934c7b2d7bb.tar.gz libADLMIDI-6ae9ca1265f8249af680f366b5a56934c7b2d7bb.tar.bz2 libADLMIDI-6ae9ca1265f8249af680f366b5a56934c7b2d7bb.zip |
Merge branch 'master' into wip-new-embedded-banks
Diffstat (limited to 'utils/update-copyright.sh')
-rwxr-xr-x | utils/update-copyright.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/update-copyright.sh b/utils/update-copyright.sh new file mode 100755 index 0000000..6ff0dee --- /dev/null +++ b/utils/update-copyright.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +find . -type f -exec grep -Il "Copyright" {} \; \ +| grep -v \.git \ +| while read file; \ +do \ + LC_ALL=C sed -b -i "s/\(.*Copyright.*\)[0-9]\{4\}\( *Vitaly Novichkov\)/\1`date +%Y`\2/" "$file"; \ +done |