https://kirelos.com/how-to-replace-newline-n-with-a-space-using-sed-33/
How to replace newline (n) with a space using sed?