For questions about the editor ed, a scriptable line-oriented text editor, originally written by Ken Thompson for the Multics and Unix operating systems. Use this tag for questions about ed itself or questions about issues arising from using the ed editor.
The ed
utility is a line-oriented text editor that uses separate command and input modes. In command mode, the input characters are interpreted as commands, and in input mode, they are interpreted as text.
External reference
ed specification (The Open Group Base Specifications Issue 7, 2018 edition)