tags:

views:

29

answers:

2

Question says it all. I've tried using awk 'BEGIN{RS=\"} /Match/{print $0}' input and every combination of escaping and quoting I could think of. Any Ideas how to pull this off?

+2  A: 

you can use \042.

awk 'BEGIN{RS="\042"}{}' file

or

awk -vRS='"' '{}' file
ghostdog74
A: 

This also works:

awk 'BEGIN{RS="\""} /Match/{print $0}'
Dennis Williamson