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

Remove trailing whitespace from many files (OS X)

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