📌  相关文章
📜  bash 用空格替换换行符 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:10.109000             🧑  作者: Mango

代码示例1
Just use tr command as follow:
tr '\n' ' ' < file    #Replaces all newlines matches with a space ' '