The standard text editor. If the named file
does not exist, ed
creates it; otherwise, the existing file
is opened for editing. As a line editor, ed
is generally no longer used because vi
have superseded it. Some utilities, such as diff
, continue to make use of ed
command syntax. Encryption (with
) can be used only in the United States.
, but assume file
began in encrypted form.
as the prompt for commands (default is
command turns the prompt display on and off.
Suppress character counts, diagnostics, and the
prompt for shell commands. Earlier versions of ed
; this is still accepted.
Supply a key to encrypt or decrypt file