Hi all,
I need to extract a paragraph of text from a file. The text to look for contains double quotes.
e.g. in ksh with sed:
line_of_text="SYSPROC"."TEST"
cat <my text file> | sed -e '/./{H;$!d;}' -e "x;/${line_of_text}/!d;"
--> This does not work as the line_of_text contains double quotes and the sed command must also be in double quotes to translate the variable.