Ex (text editor)
ex (short for extended) is a line editor based on and intended as an improvement to ed, the original Unix editor.[src] Today, it is standardized by POSIX.[src] George Coulouris of Queen Mary College developed an improved version of ed called em in 1975 that took advantage of video terminals.[src] While visiting Berkeley, Coulouris presented em to Bill Joy, who modified it along with Charles Haley to be less demanding of the processor.[src] The editor became ex and got included in the Berkeley Software Distribution.[src] Later, ex was enhanced to support full-screen editing via a new, visual mode.[src] The vi text editor is, in fact, ex running in visual mode.[src] The program can be started in either the visual or legacy mode (via command vs.[src] ) and the user can switch between modes at runtime.[src] And, in visual mode, ex commands can be issued at the colon (:) prompt.[src] Even though vi is just a mode of ex, the editor is more commonly called vi today instead of ex.[src] In fact, some programs such as vim provide both vi and ex compatibility modes such that neither vi nor ex are the program per se.[src] The core ex commands which relate to search and replace are essential to vi.[src] For instance, the ex command replaces every instance of with , and works in vi too.[src] The means every line in the file.…[src]
ex (short for extended) is a line editor based on and intended as an improvement to ed, the original Unix editor.[src] Today, it is standardized by POSIX.[src] George Coulouris of Queen Mary College developed an improved version of ed called em in 1975 that took advantage of video terminals.[src] While visiting Berkeley, Coulouris presented em to Bill Joy, who modified it along with Charles Haley to be less demanding of the processor.[src] The editor became ex and got included in the Berkeley Software Distribution.[src] Later, ex was enhanced to support full-screen editing via a new, visual mode.[src] The vi text editor is, in fact, ex running in visual mode.[src] The program can be started in either the visual or legacy mode (via command vs.[src] ) and the user can switch between modes at runtime.[src] And, in visual mode, ex commands can be issued at the colon (:) prompt.[src] Even though vi is just a mode of ex, the editor is more commonly called vi today instead of ex.[src] In fact, some programs such as vim provide both vi and ex compatibility modes such that neither vi nor ex are the program per se.[src] The core ex commands which relate to search and replace are essential to vi.[src] For instance, the ex command replaces every instance of with , and works in vi too.[src] The means every line in the file.[src] The 'g' stands for global and means replace every instance on every line (if it was not specified, then only the first instance on each line would be replaced).[src] ==See also== List of POSIX commands ==References== ==External links==[src]
32 sentences · 32 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Ex (text editor)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/ex-text-editor. Accessed 02 December 2026.
Chicago
"Ex (text editor)." encyclopegia.org. Accessed December 2, 2026. https://encyclopegia.org/wiki/ex-text-editor.
APA
encyclopegia.org. (2026). Ex (text editor). Retrieved December 2, 2026, from https://encyclopegia.org/wiki/ex-text-editor
Accessed December 2, 2026 · CC BY-SA 4.0 · citation page · JSON