EMBED THIS RECORDING:
I recorded this `Sed, string toolbox for lazy people` shellsession because its great. Its a utility
that parses text and implements a programming language which can apply transformations to such
sed -i "s/foo/bar/g" somefile.txt
more funky regex-stuff @
btw. when replacing urls, you will have to escape every '/' with a backslash. So '/' should be
written as '/'.
Hooooowever, sed has an facility to accept '|' delimiters as well. So for replacing urls, suggested
cat foo.txt | sed 's|http://foo.com|http://bar.com|g'