editor.ex

Command/Editor, Releases: AP and R83

Exits item.

Description

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. See also the 'exk' command.

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) ?' appears. A response of 'y' exits the item without saving changes. To save the item, see the 'fi' or 'fs' commands.

Example

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

See Also

Command Name Type Description
editor.fs Command Saves item and remains in item.
editor.x Command Undoes last command.
editor.errors Definition Editor error messages.
editor.fsl Command Save item in 'list' format.
editor.fso Command Save over existing item.
editor.fd Command Deletes item.
editor.introduction Introductory The line-oriented editor.
editor.fi Command Files item.
editor.exk Command Exits and 'kiss off' list.
editor.fil Command File item in 'list' format.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.