Quote: problems with bash are fun.
$ cat input
"This is an \" input file \ "that has quoting issues."
$ sed -e 's / \\ "/'" '"' / g 'input
"This is an 'input file' that has quoting issues."
Note that there are three lines connected together to make a sed script:
The first and last are quoted with single quotes, and the middle are quoted with double quotes.
Matthew's team works by combining two lines instead of three:
where the first is a single-cascade, and the second is a double quote.
source share