Skip to content

Instantly share code, notes, and snippets.

@nopolabs
Created May 12, 2012 22:16
Show Gist options
  • Save nopolabs/2669415 to your computer and use it in GitHub Desktop.
Save nopolabs/2669415 to your computer and use it in GitHub Desktop.
Removing trailing whitespace in java files.
find . -name \*.java -exec sed -i 's/[ \t]*$//' '{}' ';'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment