<p>Yeah, compiling <code>grep</code> with MSYS2 is as easy as <code>configure && make && make install</code>, woohoo.<br>
The only additional dependency it creates is <code>pcre</code> but this is ok I guess.</p>

<p>Now the question is: would it be ok to include a pre-compiled grep.exe in this script or add a few lines to the script to download, unpack and build <code>grep</code> on the fly to make it more transparent where it comes from?<br>
I'd vote for the latter option but it will increase runtime of the script signifanctly because compiling <code>grep</code> will take some time (to be exact it is rather running <code>configure</code> which is slow).</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/pull/560#issuecomment-193653266">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ1K2LcWwAtDQBVcER9XNwaC3oDWjks5prSrrgaJpZM4FWtUm.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/pull/560#issuecomment-193653266"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>