Created
October 22, 2010 23:05
-
-
Save putermancer/641533 to your computer and use it in GitHub Desktop.
remove trailing whitespace
This file contains 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
# ^V + TAB to get the tab character, since sed doesn't like \t | |
find . -type f -name "*.py" -print0 | xargs -0 sed -i '' -e 's/[ ]*$//g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment