Ex (editor)
Encyclopedia : E : EX : EXE : Ex (editor)
- The correct title of this } is }}}. The initial letter is capitalized due to [Naming conventions #Lower case first lettertechnical restrictions].
The original ex was an advanced version of the standard Unix editor ed, included in the Berkeley Software Distribution. ex is similar to ed, with the exception that some switches and options are modified so that they are more user-friendly.
ex was eventually given a screen oriented visual interface (adding to its command line oriented operation), thereby becoming the vi text editor. In recent times, ex is implemented as a personality of the vi program; most variants of vi still have an "ex mode", which is invoked using the command ex, or from within vi for one command by typing the : (colon) character. Although there is overlap between ex and vi functionality, some things can only be done with ex comamnds, so it remains useful when using vi.
ex has a synonym e in HP-UX environments.
Switches
ex recognises the following switches:
- - (obsolete) suppresses user-interactive feedback
- -s (XPG4 only) suppresses user-interactive feedback
- -l sets lisp editor option
- -r recover specified files after a system crash
- -R sets readonly
- -t tag Edit the file containing the specified tag
- -v invoke visual mode (vi)
- -w set window size n
- -x set encryption mode
- -C encryption option
- file specifies file to be edited
See also
From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.
