Reverse ed scripts so that they produce outputs similar to other formats