This is a project to re-implement the posix editor ed in c++ with some additional features like editline support. If running ed++ in OpenBSD, pledge is enabled.
git clone https://github.com/JeffreySmith/ed.git
cd ed
mkdir build
cd build
cmake .. && make
./ed++ [-p string] [-v] [filename]