themactep.com

A home of miscellaneous projects by Paul Philippov.

Notes

How to strip trailing spaces from source files

$ sed -i 's/[[:space:]]*$//' \ **/*.{rb,erb,rake,conf,txt,csv,yml,html,css,js}