Ed-like text editor written in perl