How can I replace each newline (\n) with a space using sed? on August 31, 2023 replace newline with space using sed +