Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Kill whitespace!
find . -not \( -name .svn -prune -o -name .git -prune \) -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