finalcut/scripts/remove_eol_spaces.sh

11 lines
188 B
Bash
Executable File

#!/bin/sh
find ../src/ \
../src/include/final/ \
../examples/ \
../test/ \
-regextype posix-egrep \
-regex ".*\\.(cpp|h)$" \
-exec sed -i 's/ *$//' "{}" \;