Skip to content

Instantly share code, notes, and snippets.

@RobinWu
Created September 1, 2009 15:11
Show Gist options
  • Select an option

  • Save RobinWu/179147 to your computer and use it in GitHub Desktop.

Select an option

Save RobinWu/179147 to your computer and use it in GitHub Desktop.
find . -name '*.rb' -exec grep -n -H "def create.*" {} \;
find . -name '*.rb' | xargs grep 'def create.*'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment