MPE/iX Shell and Utilities Reference Manual, Vol 1

ed(1) MPE/iX Shell and Utilities ed(1)
Message: Unknown option "–option".
Cause: You specified an option that is not valid for ed.
Action: Check the DESCRIPTION section of this man page for a list of valid ed
options.
Message: Wrong number of addresses for command
Cause: You specified the wrong number of addresses for the command that you entered.
Action: Check the Commands subsection of this man page for a list of ed commands
and the number of addresses that you can specify with each.
PORTABILITY
POSIX.2. x/OPEN Portability Guide 4.0. All UNIX systems.
The addresses < and >, the –b and –x options, and the W and X commands are extensions to
the
POSIX standard.
The red command is also an extension to the POSIX standard.
LIMITS
ed allows a limit of 1024 bytes per line and 500,000 lines per file. It does not allow the
NUL
character. The maximum length of a global command is 256 characters, including newlines.
MPE/iX NOTES
Although the current
MPE/iX implementation of the ed command can read non-byte stream
files, it can only write byte stream files. As a result, if you edit a non-byte stream file with ed
and save it, that file is now a byte stream file. File characteristics like file code, record size,
and so forth are not preserved by this conversion.
For more information on how the current
MPE/iX implementation may affect the operation of
this utility, see Appendix A, MPE/iX Implementation Considerations.
SEE ALSO
awk(1), crypt(1), diff(1), ex(1), grep(1), sed(1), vi(1), environ(3), regexp(3)
1-206 Commands and Utilities