ex command

The ex command exits the current item without saving changes. Control returns to TCL, or to the next item in the list if more than one item was requested.

If the item has changed since the Editor was invoked and the ex command is issued, the message item changed, exit it (y/n=cr) ? displays. Pressing y exits the item without saving changes. To save the item, see fi command or fs command.

Syntax

ex

Example(s)

ed bp *
first.program
top
.ex
’first.program’ exited.
second.program
top
.ex
’second.program’ exited.