mirror of
https://gitcode.com/GitHub_Trending/az/azerothcore-wotlk.git
synced 2026-07-10 19:03:11 +00:00
feat(apps): Add a tool to remove trailing whitespaces (#4074)
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user