Skip to content

Instantly share code, notes, and snippets.

@asmega
Created August 1, 2011 08:19
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 asmega/1117789 to your computer and use it in GitHub Desktop.
Save asmega/1117789 to your computer and use it in GitHub Desktop.
find and delete line with sed
find ./spec/ -name *_spec.rb -type f -exec sed -i "/require \"spec\"/d" {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment