<p></p>
<p dir="auto">I guess I would prefer if we'd just someting like</p>
<pre><code>static unsigned int ver[2] = {
#include "scintilla/version.txt"
    ,
#include "scintilla/lexilla/version.txt"
}


sprintf(buf, "Scintilla version %d.%d.%d", ver[0]/100, (ver[0]/10)%10, ver[0]%10))
sprintf(buf, "Lexilla version %d.%d.%d", ver[1]/100, (ver[1]/10)%10, ver[1]%10))
</code></pre>
<p dir="auto">or define some preprocessor symbol via Makefile (-DSCI_VER=$(file < scintilla/version.txt) but in a portable fashion)</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/geany/geany/discussions/3108#discussioncomment-2019549">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ54AG2NEFSACH7MUPDUXHRG7ANCNFSM5MPS4YVA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAIOWJZ2L7ZYHWW5ENAH3G3UXHRG7A5CNFSM5MPS4YVKYY3PNVWWK3TUL52HS4DFWFCGS43DOVZXG2LPNZBW63LNMVXHJKTDN5WW2ZLOORPWSZGOAAPNBXI.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><geany/geany/repo-discussions/3108/comments/2019549</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/discussions/3108#discussioncomment-2019549",
"url": "https://github.com/geany/geany/discussions/3108#discussioncomment-2019549",
"name": "View Discussion"
},
"description": "View this Discussion on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>