I need to cut a specific table out of a html page. How can I do that?
I've been looking at the sed and awk/gawk commands, but it's a little overwhelming for a first-time user of those commands...
It doesn't need to be done with either sed or awk. If you know some other command that can do this easily, please let me know!
Let me explain in more detail what I nedd to do:
Take a html page like this:
Code:
<html>
<body>
... some html stuff ...
<table ...>
<tr>
<td>...</td>
</tr>
</table>
... more html stuff ...
</body>
</html>
How do I cut out the part from "<table ...>" to "</table>" ?