.TH SED 1 .SH NAME sed \- stream editor .SH SYNOPSIS \fBsed\fR [\fB\-egn\fR]\fR [\fB\-f \fIscript_file\fR]\fR [\fIedit_script\fR] [\fIfile\fR]\fR .br .de FL .TP \\fB\\$1\\fR \\$2 .. .de EX .TP 20 \\fB\\$1\\fR # \\$2 .. .SH OPTIONS .FL "\-e" "Accept multiple commands commands on the commands line" .FL "\-f" "The following argument contains the edit script" .FL "\-g" "Set the global flag on all substitute commands" .FL "\-n" "Only output selected lines" .SH EXAMPLES .EX "sed \-f script