SED - File Spacing - Undo double-spacing a file

Assumes even-numbered lines are always blank.

sed 'n;d' filename

Example

Running that command again this file:

testfile
aaa
 
bbb
 
ccc

returns:

testfile
aaa
bbb
ccc