I guess I would prefer if we'd just someting like
``` 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)) ```
or define some preprocessor symbol via Makefile (-DSCI_VER=$(file < scintilla/version.txt) but in a portable fashion)