If you’ve been using Linux for any small length of time,
you’ve likely used sed
before.
Most of the time, you’ve seen it in the form of sed "s/find/replace/g"
,
so you simply go to it whenever there’s a replacement you want to do.
But sed
stands for stream editor,
and as a tool it can do more than just find and replace.