The multiple lines into one line

-N Sed
Sed -e "N S / \ n-/ / G: line 2 into the row
sed -e" N; N; N ; s / \ n / / g: 4 lines into the line

tr -s "\ n" "\": all lines will be replaced by his party

Published 43 original articles · won praise 0 · Views 3055

Guess you like

Origin blog.csdn.net/oTobias/article/details/103530733