EX(1) DOMAIN/IX SYS5 EX(1)
NAME
ex - text editor
USAGE
ex [ - ] [ -v ] [ -t tag ] [ -r file ] [ -R ] [ +command ] [
-l ] file ...
DESCRIPTION
Ex is the root of a family of editors, which also includes
edit(1) and vi(1). Ex is a superset of ed(1), with the most
notable extension being a display editing facility.
Display-based editing is the focus of vi.
Full details concerning the use of ex are explained in the
DOMAIN/IX Text Processing Guide.
OPTIONS
- Suppress all interactive-user feedback. This is
useful in processing editor scripts.
-v Invoke vi(1).
-t tag Edit the file containing the tag and position the
editor at its definition.
-r file Recover file after an editor or system crash. If
you do not specify file, ex prints a list of all
saved files.
-R Set mode to readonly to prevent accidental
overwriting of the file.
+command Begin editing by executing the specified editor
search or positioning command.
-l Set lisp mode to indent appropriately for LISP
code. Modify the parentheses, braces, and left
and right double brackets commands, i.e., (), {},
[[, and ]], in vi(1) to have meaning for LISP.
CAUTIONS
The undo command causes all marks to be lost on lines
changed and then restored if the marked lines were changed.
It also never clears the buffer-modified condition.
The z command prints a number of logical rather than physi-
cal lines. More than a screen full of output may result if
long lines are present.
Printed 12/4/86 EX-1
EX(1) DOMAIN/IX SYS5 EX(1)
File input/output errors do not print a name if the dash (-)
option is used on the command line.
There is no easy way to do a single scan ignoring case.
No warning messages appear when text is placed in named
buffers and not used before exiting the editor.
Null characters are discarded in input files, and cannot
appear in resultant files.
FILES
/usr/lib/ex?.?recover
recover command
/usr/lib/ex?.?preserve
preserve command
/usr/lib/*/* capabilities of terminals
$HOME/.exrc editor start-up file
awk(1), ed(1), grep(1), sed(1), vi(1).
EX-2 Printed 12/4/86