Daniel-Constantin Mierla writes:
So for now, if someone doesn't want the #!KAMAILIO (or the other variants) in the first line, can add it temporarily only when it uses the --cfg-print, then remove it. Of course, if someone wants to look more into it, is more than welcome to make pull requests.
It is OK to have that in the first line, but my question was, can there be something else on the first line after #!KAMAILIO? So is the test
first_line == "#!KAMAILIO"
or
starts_with(first_line, "#!KAMAILIO")
?
-- juha