Fixed whitespace

Whitespace inconsistencies reported in https://github.com/libsdl-org/SDL/pull/5673
This commit is contained in:
Sam Lantinga
2022-05-18 06:57:28 -07:00
parent 56665e1d9d
commit aa6ea607d9
3 changed files with 51 additions and 53 deletions

View File

@@ -1,8 +1,7 @@
#!/bin/sh
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\}\( *Sam Lantinga\)/\1`date +%Y`\2/" "$file"; \
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\}\( *Sam Lantinga\)/\1`date +%Y`\2/" "$file"; \
done