Hello,
Can someone help me out with reformatting a text file?
The file has space separated entrys and contains blocks of 6 lines.
From the first line I need to delete the first entry (which is 6 characters including the whitepace).
The second and 3th line need no modification.
From the 4th line I only need the first entry.
From the 5th line I need the first 2 entrys but with the whitespace removed.
The 6th line is empty and the above block of lines starts again at line 7.
I have been struggling with sed and awk but can't make it happen.

