grep_stdout = p.communicate(input='one\ntwo\nthree\nfour\nfive\nsix\n')[0]"