Escaping backlash and double qoutes inside a sed expression (surrounded by double qoutes)
> echo 'output: " ' | sed "s/\"/\"/" output: " > echo 'output: " ' | sed "s/\"/\\"/" output: " > echo 'output: " ' | sed "s/\"/\\\"/" output: \" I want to understand what is happening in the first and second example. What I understand is, since I am using double qoutes for the sed expression, \" is...