 another file before writing a modified buffer results in an error. If the command is entered a second time, it succeeds, but any changes to the buffer are lost. sed(1), sh(1), vi(1), re_format(7) B. W. Kernighan and P. J. Plauger, Software Tools in Pascal, 1981, Addison-Wesley.
edutility is compliant with the IEEE Std 1003.1-2008 (“POSIX.1”) specification. The commands
s(to repeat the last substitution),
zas well as the address specifier ‘%’ are extensions to that specification. The IEEE Std 1003.1-2008 (“POSIX.1”) specification says the ‘^’ address specifier is neither required nor prohibited; additionally, it says behaviour for the
-option is “unspecified”.
edcommand appeared in Version 1 AT&T UNIX.
edprocesses file arguments for backslash escapes, i.e., in a filename, any characters preceded by a backslash (‘
\’) are interpreted literally. If a text (non-binary) file is not terminated by a newline character, then
edappends one on reading/writing it. In the case of a binary file,
eddoes not append a newline on reading/writing.
|April 26, 2018||OpenBSD-current|