<p>If long lines are matched (e.g. in binary or minified files) then 2 bad things happen...</p>
<ol>
<li>An internal buffer apparently crops each line, before the length of the line grepping is wrapping to (apparently)</li>
<li>Subsequent lines which grep has wrapped then show on separate lines</li>
</ol>
<p>The result is a mess of disjointed output.</p>
<p>It can be fixed very easily by adding this after your grep command...</p>
<p><code> | cut -c-80</code></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2247?email_source=notifications&email_token=AAIOWJ3MIJ7ZQT7IZ353PNTQDMFM7A5CNFSM4IKC6NS2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HD6XPZA">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ6KPKXCCZQ3HRVTU2DQDMFM7ANCNFSM4IKC6NSQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ2ZDGRFK2H362EQ6S3QDMFM7A5CNFSM4IKC6NS2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HD6XPZA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2247?email_source=notifications\u0026email_token=AAIOWJ3MIJ7ZQT7IZ353PNTQDMFM7A5CNFSM4IKC6NS2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HD6XPZA",
"url": "https://github.com/geany/geany/issues/2247?email_source=notifications\u0026email_token=AAIOWJ3MIJ7ZQT7IZ353PNTQDMFM7A5CNFSM4IKC6NS2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HD6XPZA",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>