title: bash function not executing, returns "command not found"
body: <p>In my .bash_profile, I have a function that returns all php files containing the parameter string passed in:</p>
  
  <pre><code>summon() {
   "find . -name '*.php' -exec grep -ril '$1' '{}' \;"
  }
  </code></pre>
  
  <p>When I am on my command line (mac) and I run <code>summon foo</code>, I get the error:</p>
  
  <pre><code>-bash: find . -name '*.php' -exec grep -ril 'foo' '{}' \;: command not found
  </code></pre>
  
  <p>But if I just copy/paste the <code>find . -name '*.php' -exec grep -ril 'foo' '{}' \;</code> into the command line, then it works properly, returning all of the php files that contain the string 'foo'.</p>
  
  <p>Does anyone have any idea why the function is not being evaluated?</p>