Name
sed
Synopsis
sed [options
] [files
]
Streams editor. Edits one or more files without
user interaction. For more information on sed
, see
sed & awk, Second Edition
(O’Reilly & Associates, Inc., 1997). The
-e
and -f
options may be
provided multiple times, and they may be used with each other.
Options
-
-a
Treat all files as text and compare them.
-
-e
`instruction'
Apply the editing instruction to the files.
-
-f
script
Apply the set of instructions from the editing script.
-
-n
Suppress default output.
Get Mac OS X in a Nutshell 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.