Use 'tr' to trim newslines