System information

Table 2-6 summarizes the commands used in ED.
Table 2-6. ED Commands
Command Function
nA Append lines
+-B Begin or bottom of buffer
+-nC Move character positions
+-nD Delete characters
E End edit and close files (normal end)
nF Find string
H End edit, close and reopen files
I Insert characters, use i if both upper- and lower-case characters are to be entered.
nJ Place strings in juxtaposition
+-nK Kill lines
+-nL Move down/up lines
nM Macro definition
nN Find next occurrence with autoscan
O Return to original file
+-nP Move and print pages
Q Quit with no file changes
R Read library file
2.2 ED Error Conditions CP/M Operating System Manual
2-20