Skip to content

Instantly share code, notes, and snippets.

@rohan-varma
Created June 10, 2021 17:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rohan-varma/922f8bc96d565ad6a73073394ee5b655 to your computer and use it in GitHub Desktop.
Save rohan-varma/922f8bc96d565ad6a73073394ee5b655 to your computer and use it in GitHub Desktop.
find . -type f -print0 | xargs -0 perl -pi -e 's/ +$//'
https://stackoverflow.com/questions/149057/how-to-remove-trailing-whitespace-of-all-files-recursively
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment