in reply to A2P or not 2P


You are right the two statements are equivalent.

It may seem a little obfuscated but I guess the intention was to replace awk's "var = getline" with a single statement.

--
John.