ed - $1 <<'@'
g/^  */s///
g/ \.[0-9]/s/ \./0./g
g/^STOP/d
g/^CP:/d
g/^HWM mem/d
w
@
