sed '$!N;s/\n/ /' testfiles/join-lines-pairwise
join-lines-pairwise
this is line one this is the second line this is the third line and finally, the fourth line
Index