HP-UX Reference (11i v3 07/02) - 1 User Commands A-M (vol 1)
e
ed(1) ed(1)
A ! command cannot be subject to a
g or a v command.
The
! command and the ! escape from the
e, r, and w commands cannot be used if the the editor is
invoked from a restricted shell (see sh(1)).
The sequence
\n in a regular expression does not match a newline character.
The l command does not handle DEL correctly.
Files encrypted directly with the crypt command with the null key cannot be edited (see crypt(1)).
If the editor input is coming from a command file (e.g.,
ed file < ed-cmd-file) , the editor exits at
the first failure of a command in the command file.
When reading a file,
ed discards ASCII NUL characters and all characters after the last newline. This can
cause unexpected behavior when using regular expressions to search for character sequences containing
NUL characters or text near end-of-file.
AUTHOR
ed was developed by HP and OSF.
FILES
/tmp/ep Temporary buffer file where p is the process number.
ed.hup Work is saved here if the terminal is hung up.
SEE ALSO
awk(1), csh(1), crypt(1), ex(1), grep(1), ksh(1), sed(1), sh(1), sh-posix(1), stty(1), vi(1), fspec(4), environ(5),
lang(5), regexp(5), standards(5).
The ed section in Text Processing: User’s Guide.
STANDARDS CONFORMANCE
ed: SVID2, SVID3, XPG2, XPG3, XPG4, POSIX.2
red: SVID2, SVID3, XPG2, XPG3
254 Hewlett-Packard Company − 7 − HP-UX 11i Version 3: February 2007