ed is a line editor; it edits a single line at a time.
Occasions on which you might need to use ed include:
working on a incorrectly set terminal
no other text editor is available
executing a script of editing commands automatically
processing a script of editing commands output by the
file comparison command,
Saving frequently used commands
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003