I need to write a pipe sequence of list of quoted segments of text that contain question marks which a quoted segment of text starts and ends with a double quote character (“) and has no other double quote character.
I tried to do it like this but i dont get all the quotes:
cat story.txt | grep -E | sed -r "s/\n\"/ \"/