mirror of
https://github.com/etlegacy/etlegacy-libs.git
synced 2024-11-11 07:11:57 +00:00
9 lines
274 B
Bash
Executable file
9 lines
274 B
Bash
Executable file
#!/bin/sh
|
|
|
|
find . -type f -exec grep -Il "Copyright" {} \; \
|
|
| grep -v \.hg \
|
|
| while read i; \
|
|
do \
|
|
LC_ALL=C sed -ie "s/\(.*Copyright.*\)[0-9]\{4\}\( *Sam Lantinga\)/\1`date +%Y`\2/" "$i"; \
|
|
rm "${i}e"; \
|
|
done
|