Skip to content

Instantly share code, notes, and snippets.

@vanstee
Created February 28, 2013 04:51
Show Gist options
  • Select an option

  • Save vanstee/5054283 to your computer and use it in GitHub Desktop.

Select an option

Save vanstee/5054283 to your computer and use it in GitHub Desktop.
for file in $(find . -type f -name "*.rb"); do cat $file | git stripspace | sponge $file; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment