How to merge every two lines into one from the command line?

paste is good for this job:

paste -d " "  - - < filename

Leave a Comment