Chet Ramey <chet.ramey(a)case.edu> wrote:
Sorry, I should have been more clear. This requirement
is for scripts:
"The requirement that awk add a trailing <newline> to the program argument
text is to simplify the grammar, making it match a text file in form."
which I imagine all awk implementations do.
Ah. Indeed, gawk does this. I don't remember what goes in The One
True Awk.
Thanks,
Arnold