Linux Shell下多行拼接为1行 Leave a reply Plain textCopy to clipboardOpen code in new windowEnlighterJS 3 Syntax Highlightercat test.txt | tr '\n' ','cat test.txt | tr '\n' ','cat test.txt | tr '\n' ',' 您可能也喜欢如下文章: Linux sort的四个小技巧