g/^  */s///
g/^     /s///
g/  *$/s///
g/^$/d
g/   */s// /g
wq
