Sed is a line editor. It takes lines from Standard input and transforms them before sending them to Standard output.
Examples[]
sed "/lion/d"
deletes all lines that contain lion
sed "s/lion/mouse/"
swaps first mention of lion for mouse
sed "s/lion/mouse/g"
same as before but swaps all mentions of lion for mouse