strip new lines from std in for 'how well we doing' script