I need to use awk to get multiple lines within a file with the record seperator being a double quote. I am trying the following:
cat dbpccq.sh.old |awk 'BEGIN{ FS = "\n"; RS = "\"" }
/VOLUMETABLE="/ {print $0}'
I am trying to pull the information from a file like the following example:
"line1"
line2
VOLUMETABLE="
line3
line4
line5
"
line6
I want to get the information from VOLUEMTABLE to the quote after line5.
Any idea how because my way doesn't work.
cat dbpccq.sh.old |awk 'BEGIN{ FS = "\n"; RS = "\"" }
/VOLUMETABLE="/ {print $0}'
I am trying to pull the information from a file like the following example:
"line1"
line2
VOLUMETABLE="
line3
line4
line5
"
line6
I want to get the information from VOLUEMTABLE to the quote after line5.
Any idea how because my way doesn't work.