Note
Clicking on a [Return] link takes you to the first reference to the footnote you are returning from. If there are multiple references to that footnote, this might not be the place you came from.
To suppress all output for cases in which only success or failure status is
desired, as in a shell script, close standard output and standard error or
redirect them both to
/dev/null.
[Return]
If the text to be written consists of multiple lines, each line except
the last must have a backslash ( \ )
before
the terminal newline character.
The text is always written regardless of
anything subsequent commands do to the line that caused it to be written,
including deletion of that line.
It is neither scanned for address matches
nor affected by subsequent editing commands, and it has no effect on the editor's
line counter.
[Return]
If no addresses
are given, the
d
command deletes all lines in the pattern
space; unless constrained by a range controlling a group of commands in braces,
the command deletes the entire contents of the file.
[Return]
Include exactly one
space between the
r
command and the file name.
If
file
cannot be accessed,
sed
behaves as if
it had read an empty file and gives no abnormal indication.
A combined maximum
of 10 files can be named for reading or writing in any given editing process.
[Return]
See
Section 3.5
for descriptions of the
s
command's optional flags.
[Return]
Include exactly one space between the
w
command and the file name.
If
file
exists, it is overwritten; if not, it is created.
A combined maximum of 10
files can be named for reading or writing in any given editing process.
[Return]
Alfred Aho, Ravi Sethi, and Jeffrey Ullman. Compilers: Principles, Techniques, and Tools, Reading, MA, U.S.A.: Addison-Wesley Publishing Co., 1986. [Return]