Does our string-parsing replace the \n after ENDMARK with a newline (causing the shell to see "ENDMARK
" as the string it passes to printf, with an actual newline in the string) or do we pass it on direct so that printf gets to process it ?
If the former, are we confident every platform's shell is going to handle that gracefully ?
Does it actually need to be \\n here, so as to have the shell see "ENDMARK\n" and pass that to printf ?