Skip to content

Instantly share code, notes, and snippets.

@asmega
Created Aug 1, 2011
Embed
What would you like to do?
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