Is there a command to automatically escape a string for use in sed?
I got frusturated escaping for simple replacement: https://github.com/jakeogh/replace-text
I got frusturated escaping for simple replacement: https://github.com/jakeogh/replace-text
echo "/foo/bar" | sed -e 's|/foo|/tmp|'
(The article mentions this)
echo b |awk '/b/{print a}' a=4