finalcut/scripts/remove_eol_spaces.sh

10 lines
169 B
Bash
Raw Normal View History

2015-05-23 13:35:12 +02:00
#!/bin/bash
find ../src/ \
../include/final/ \
../examples/ \
2015-05-23 13:35:12 +02:00
-regextype posix-egrep \
-regex ".*\.(cpp|h)$" \
-exec sed -i 's/ *$//' "{}" \;