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)
© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999