I have noticed a change in the behavior of "getline" in gawk 4.0.0 relative to gawk 3.1.8 and before.
I don't know if this is a bug or an intended change of behavior.
I used to use "getline", a lot, to strip-off a header line (typically, one line) from whatever I was doing with AWK.
AWK now seems to do this sort-of automagically, which means, however, that the explicit getline will strip not the header but a line of real data (with bad consequences...).
I now comment-out the "getline", and it works... sometimes requiring a pipe through "sed 1d" first (which is fine).
My question is: Is this intentional? I looked but not found any discussion in the docs.
I can provide sample files but I'm guessing you know what I mean.