in reply to A2P or not 2P
It may seem a little obfuscated but I guess the intention was to replace awk's "var = getline" with a single statement.
-- John.