Created
December 5, 2019 12:48
-
-
Save optroodt/b230fa86f26f62e0a4a0a01ce143d01b to your computer and use it in GitHub Desktop.
Remove trailing whitespace with sed on os X
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 . -iname "*.py" -exec sed -i '' -E 's/[ '$'\t'']+$//' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment