GNU ed, version 0.2 - Commands Go to the previous , next section. All ed commands are single characters, though some require additonal parameters. In general, at most one command is allowed per line.
Text is entered in input mode.
The current address is set to last line entered. The addressed lines are deleted from the buffer, and text is appended in their place. Text is entered in input mode. The current address is set to last line entered. If there is a line after the deleted range, then the current address is set to this line.