Prints output all in one line.