Last active
April 3, 2019 20:29
-
-
Save invalidusrname/ee92fb218275f7b2ee1e to your computer and use it in GitHub Desktop.
Remove trailing whitespace from ruby files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for f in $(git log -4 --name-only | grep ".rb" | sort | uniq); do perl -pi -e 's/ +$//' $f; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment