Please help me in using either SED, AWK, or GREP to extract the following text. I have files that look similar to this.
Text text text text text text text
Text text text text text text text
Table A
<TABLE>
xxx xxx xxx xxx
xxx xxx xxx xxx
</TABLE>
Text text text text text text text
Text text text text text text text
Table B
<TABLE>
xxx xxx xxx xxx
xxx xxx xxx xxx
</TABLE>
I need all of the info for only table A but am not sure how to go about doing so.