Go to the previous, next section.
ed
ed [-] [-Gs] [-p string] [file] red [-] [-Gs] [-p string] [file]
-G
ed
commands `G', `V', `f', `l', `m', `t'
and `!!'. If the default behavior of these commands does not seem
familiar, then try invoking ed
with this switch.
-s
-
ed
's standard
input is from a script.
-p string
file specifies the name of a file to read. If file is
prefixed with a bang (!), then it is interpreted as a shell command. In
this case, what is read is the standard output of file executed
via sh (1)
. To read a file whose name begins with a bang, prefix
the name with a backslash (\). The default filename is set to
file only if it is not prefixed with a bang.
Go to the previous, next section.