feat(apps): Add a tool to remove trailing whitespaces (#4074)

This commit is contained in:
Kitzunu
2021-04-18 14:03:31 +02:00
committed by GitHub
parent 3a5d6fd001
commit ac6a968242

View File

@@ -0,0 +1,3 @@
# Change '*.cpp' and '*.h' to the extension you want to remove whitespaces in.
find -name '*.cpp' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i
find -name '*.h' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i