replace the remaining occurences of sed with emacs scripts, implement mkdir with...