Editing files
The SCO OpenServer system
has several editors, which are useful for different purposes:
vi-
Visual editor.
vi allows you to perform full-screen writing and
editing of files; this is the editor you will use most.
view-
Read-only version of vi. view allows you to
examine text files, but does not allow you to save changes.
See
vi(C).
ed-
Original UNIX system line editor.
ed is line-oriented;
it can only edit a line at a time. Used within
shell scripts, and when it is impossible to configure a terminal properly.
See
``Using ed''
for details.
ex-
A line editor. Like ed, ex is line-oriented.
Like view, ex is implemented as part
of vi, and the ex command is a link to vi.
See
vi(C).
sed-
Stream editor. sed reads an input file, carries out
a sequence of commands, and writes the result to
its output file. It cannot be used interactively.
(See
``Manipulating text with sed''
for further details.)
Next topic:
A quick tour of vi
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005