title: How to search for file paths using grep
body: <p>I am trying to get all of the file paths that are listed in a certain file and store them in an array for further use</p>
  <p>The file paths within the files look like this:</p>
  <pre><code>include /app/...;
  </code></pre>
  <p>or</p>
  <pre><code>#include /app/...; #comment
  </code></pre>
  <p>But the the file also has other file paths so I want to find just the ones that start with include.</p>
  <p>I tried <code>grep 'include /[^&quot;]*' &lt;fileToSearch&gt;</code> but it is missing some files and doesn't capture them</p>
  <p>Any help will be appreciated.</p>