4.4BSD/usr/share/man/cat1/ex.0

Compare this file to the similar file:
Show the results in this format:

EX(1)                        BSD Reference Manual                        EX(1)

NNAAMMEE
     eexx, eeddiitt - text editor

SSYYNNOOPPSSIISS
     eexx [--] [--vv] [--tt _t_a_g] [--rr] [[++_c_o_m_m_a_n_d]] [--ll] _n_a_m_e ...
     eeddiitt [ex options]

DDEESSCCRRIIPPTTIIOONN
     EExx is the root of a family of editors: eeddiitt, eexx and vvii. EExx is a superset
     of ed,  with the most notable extension being a display editing facility.
     Display based editing is the focus of vi(1) and requires a CRT.

     For users unfamiliar with ed(1),  the editor eeddiitt is probably easier to
     learn.  It avoids some of the complexities of eexx used mostly by systems
     programmers and persons comfortable with the ed(1) editor.

DDOOCCUUMMEENNTTAATTIIOONN
     The following documentation is found in the ``UNIX User's Manual
     Supplementary Documents'':

     _E_d_i_t_: _A _t_u_t_o_r_i_a_l provides a comprehensive introduction to eeddiitt assuming
     no previous knowledge of computers or the UNIX system.

     _E_x _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l _- _V_e_r_s_i_o_n _3_._7 is a comprehensive and complete manual
     for the command mode features of eexx, but you cannot learn to use the edi-
     tor by reading it.  For an introduction to more advanced forms of editing
     using the command mode of eexx see the editing documents written by Brian
     Kernighan for the editor ed(1);  the material in the introductory and ad-
     vanced documents works also with eexx.

     _A_n _I_n_t_r_o_d_u_c_t_i_o_n _t_o _D_i_s_p_l_a_y _E_d_i_t_i_n_g _w_i_t_h _V_i introduces the display editor
     vi(1) and provides reference material on vi(1).  In addition, the _V_i
     _Q_u_i_c_k _R_e_f_e_r_e_n_c_e card summarizes the commands of vi(1) in a useful, func-
     tional way, and is useful with the introduction.

EENNVVIIRROONNMMEENNTT
     The eexx command uses the following environment variables.

     EXINIT   User specified startup values for eexx.

     HOME     Default directory to search for the file _~_/_._e_x_r_c

     SHELL    Shell used for _e_s_c_a_p_e_d commands (with the !! command).

     TERM     Terminal type.

     TERMCAP  Alternate termcap file.

FFIILLEESS
     /usr/libexec/ex?.?strings   error messages
     /usr/libexec/ex?.?recover   recover command
     /usr/libexec/ex?.?preserve  preserve command
     /usr/share/misc/termcap     describes capabilities of terminals
     ~/.exrc                     editor startup file
     /tmp/Ex_n_n_n_n_n                editor temporary
     /tmp/Rx_n_n_n_n_n                named buffer temporary
     /var/preserve               preservation directory

SSEEEE AALLSSOO
     awk(1),  ed(1),  grep(1),  sed(1),  grep(1),  vi(1),  termcap(5),  envi-
     ron(7)

HHIISSTTOORRYY
     EExx appeared in 3BSD.

BBUUGGSS
     The uunnddoo command causes all marks to be lost on lines changed and then
     restored if the marked lines were changed.

     UUnnddoo never clears the buffer modified condition.

     The zz command prints a number of logical rather than physical lines.
     More than a screen full of output may result if long lines are present.

     File input/output errors don't print a name if the command line `--' op-
     tion is used.

     There is no easy way to do a single scan ignoring case.

     The editor does not warn if text is placed in named buffers and not used
     before exiting the editor.

     Null characters are discarded in input files, and cannot appear in resul-
     tant files.

4th Berkeley Distribution        June 21, 1993                               2