1
Say I do nc example.com 1234
and it returns two numbers split by a newline, which I must add together and input back in to it. The numbers change if I close the connection, so how would I get the output of netcat, do math on it and input it again all in one connection?