Open GreenBeard opened 6 years ago
thanks (I can reproduce this)
Also I noticed that the following works (notice parentheses):
function PrintTestWorkingThree(var)
{
("printf '" var "'") | getline result
close("printf '" var "'")
print result
}
If the title is unsatisfactory feel free to change it (I was not sure of a proper title nor of the root cause of the bug).
The following awk program does not function correctly (run with
mawk -f ./filename.awk
):It outputs:
when it should output:
gawk has the proper output if that helps at all.