BASH – awk & paste – joining lines – every other – join 3 lines repeat – every 4 lines repeat
UPDATE: I have another article on this topic called PASTE primer. Which covers the simplest way to join any number of lines without AWK or SED which is much easier. …Joining Lines… ImagineRead More…