====== 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: aaa bbb ccc returns: aaa bbb ccc
sed 'n;d' filename