Notes Homepage Notes How to strip trailing spaces from source files $ sed -i 's/[[:space:]]*$//' \ **/*.{rb,erb,rake,conf,txt,csv,yml,html,css,js}