$_=`dd`;m/^ *K/m;s/^ {@{[(length$&)-1]}}\K /#/mg;s/# *(?=T)/"#"x length$&/e;print