2011-11-16 136 views

回答

2

其中一個文件 「foo.txt」 中包含的文字:

cat foo.txt | sed -e 'N;s/\n//' 
+3

沒用使用sed的貓 –

+0

的 'N; S/\ n //' foo.txt的 – russcollier

+0

這應該讀'的sed -e' !$ N; S/\ n //''? – potong