finalcut/scripts/remove_eol_spaces.sh

10 lines
170 B
Bash
Executable File

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