`ed`, the standard UNIX editor, written in idiomatic C++1y