mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
4 lines
217 B
Bash
4 lines
217 B
Bash
# 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
|