If you have to use sed, it's not too different from the "grep" command suggested by Ged:
[tt]
sed -e's/^$//' input_file_name > new_file_name
[/tt]
This passes the file "input_file_name" into sed, which swaps all blank lines for nothing, and sends the output to "new_file_name".
[sig]<p> Andy Bold<br><a href=mailto: > </a><br><a href= > </a><br>"I've probably made most of the mistakes already, so hopefully you won't have to..." Me, most days.[/sig]