I was just looking at this post: delete multiple empty lines.
and I am looking to achieve the same with sed. So the idea is to delete lines from a file where a certain field has no value.
Can sed at all be used to identify a certain column, in this case the 5th column? If not, then I will use the awk solution from the source above.
Subsequently sed would have to match for emptiness and delete the line if there is a match, so in the example the output would be the first and second line only.