Created
October 4, 2021 14:04
-
-
Save sigu/13c05fa9a9bdca8687b70ecaf04bcf6a to your computer and use it in GitHub Desktop.
remove trailing whitespace from files
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
find . -iname '*.ex' -type f -exec sed -i '' 's/[[:space:]]\{1,\}$//' {} \+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment