This is easiest using paste
:
paste -s -d' \n' input.txt
Although there’s a Famous Sed One-Liner (38) to emulate this as in potong’s answer.
This is easiest using paste
:
paste -s -d' \n' input.txt
Although there’s a Famous Sed One-Liner (38) to emulate this as in potong’s answer.