October 2005
Intermediate to advanced
908 pages
46h 42m
English
The following options are recognized:
-n
Suppress the default output; sed displays only those lines
specified with the p
command or with the p flag
of the s command.
-e
cmd
Next argument is an editing command. Necessary if multiple scripts or commands are specified.
-f
file
Next argument is a file containing editing commands.
If the first line of the script is #n, sed
behaves as if -n had been specified.
Multiple -e and -f
options may be provided, and they may be mixed. The final
script consists of the concatenation of all the
script and file
arguments.
Read now
Unlock full access