finalcut/scripts/remove_eol_spaces.sh

9 lines
140 B
Bash
Executable File

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