awk 'NR % 2 == 1 { o=$0 ; next } { print o "<sep>" $0 }'
line1 line2 line3 line4
line1<sep>line2 line3<sep>line4
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!