Edlin was the standard editor in dos 3.x. As far as I can remember, edit came later (dos 4.x-5?)
I don’t remember any tools that output edlin commands that could be piped to it the same way it’s done with ed.