Remove any newline characters given to the pipeline.