3 lines
140 B
Bash
3 lines
140 B
Bash
find . -type f -name '*.cpp' -exec sed -i '' 's/[[:space:]]*$//' {} \+
|
|
find . -type f -name '*.h' -exec sed -i '' 's/[[:space:]]*$//' {} \+
|