in reply to remove single blank lines?

As a one-liner

perl -lne"length or ++$x and next; $x==1 or printf $/ x $x; $x=0; prin +t"

Caveat: Different quotes for different folks:)


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
Hooray!
Wanted!