title: Read expression for grep from standard input
body: <p>How can I make grep read the <strong>expression</strong> from standard input (stdin)?</p>
  
  <p>For example (the following doesn't work):</p>
  
  <pre><code>grep -i -f &amp;0 /path/to/text/file &lt; "/regexp/"
  </code></pre>