sed [-En] script [file...]

sed [-En] -e script [-e script]... [-f script_file]... [file...]

sed [-En] [-e script]... -f script_file [-f script_file]... [file...]

-E
    Match using extended regular expressions. Treat each pattern specified as an ERE, as described in XBD 9.4 Extended Regular Expressions.
-e script
    Add the editing commands specified by the script option-argument to the end of the script of editing commands.
-f script_file
    Add the editing commands in the file script_file to the end of the script of editing commands.
-n
    Suppress the default output (in which each line, after it is examined for editing, is written to standard output). Only lines explicitly selected for output are written.

