Last Updated: February 25, 2016
·
1.067K
· ahacop

Remove trailing whitespace from many files (OS X)

find . -type f -name '*.rb' -exec sed -i '' 's/[[:space:]]*$//' {} \+