Skip to content

Instantly share code, notes, and snippets.

@kil9
Created March 24, 2016 07:59
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 kil9/a7462e33385a71d24986 to your computer and use it in GitHub Desktop.
Save kil9/a7462e33385a71d24986 to your computer and use it in GitHub Desktop.
remote_trailling_whitespaces.sh
# can be dangerous especially for .git directory
sed "s/[ \t]\+$//g" -i `find . -name *.scala -or -name *.java`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment