How can I replace a newline (" \\n ") with a space (" 如何將換行符(「 \\n 」)替換爲空格(「 ") using the sed command? 「)使用sed命令? spa
\\n
sed
I unsuccessfully tried: 我嘗試失敗: .net
sed 's#\n# #g' file sed 's#^$# #g' file
How do I fix it? 我如何解決它? code