Using ed
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,
diff(1)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004