sed — Stream Editor
Synopsis
/usr/bin/sed [-n] script [file...] /usr/bin/sed [-n][-e script]...[-f script-file]... [file...] /usr/xpg4/bin/sed [-n] script [file...] /usr/xpg4/bin/sed [-n][-e script]...[-f script-file]... [file...]
Description
The sed command is a noninteractive stream editor that reads one or more text files, makes editing changes according to a script of editing commands, and writes the results to standard output. sed obtains the script from either the script operand string or a combination of the option-arguments from the -e script and -f script-file options.
sed is a text editor. It cannot edit binary files or files containing ASCII null (\0) characters or very long lines.
Options
-e script | script is an edit command ... |
Get Solaris™ 7 Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.