Skip to content

Instantly share code, notes, and snippets.

@modsognir
Forked from metaskills/clean.sh
Created January 21, 2014 18:59
Show Gist options
  • Save modsognir/8546002 to your computer and use it in GitHub Desktop.
Save modsognir/8546002 to your computer and use it in GitHub Desktop.
find app config db spec test -type f -name '*.rb' -or -name '*.coffee' -or -name '*.erb' -or -name '*.jbuilder' -or -name '*.js' | xargs sed -i '' -E "s/[[:space:]]*$//"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment