sed
 

Usage

sed [ -n ] 'editing command' [ file ... ]

sed [ -n ] -e 'editing command' ... [ file ... ]
sed [ -n ] -f script-file ... [ file ... ]
 

Purpose

 

Major options

-e 'editing command' Use editing command on the input data. -e must be used when there are multiple commands.
-f script-file Read editing commands from script-file. This is useful when there are many commands to execute.
-n Suppress the normal printing of each final modified line. Instead, lines must be printed explicitly with the p command.
 

Behavior