Created
February 3, 2012 20:48
-
-
Save jasonrudolph/1732424 to your computer and use it in GitHub Desktop.
Delete trailing whitespace from all files in current directory tree
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
find . -type f -print0 | xargs -0 sed -i '' -E "s/[[:space:]]*$//" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment