FANDOM


Sed is a line editor. It takes lines from Standard input and transforms them before sending them to Standard output.

Examples Edit

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

See Also Edit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.