print string by line

standard input is “test.in”