Here is my directory structure.dsptestchip_40lp/`-- prj3    |-- blk1    |   |-- blk1.config    |   |-- blk1.html    |   |-- checklist13    |   |   |-- checklist13.config    |   |   |-- checklist13.html    |   |   `-- rev2    |   |       |-- rev2.config    |   |       `-- rev2.htmlHere is the source code of checklist13.html<!doctype html><html lang=en>    <head>        <meta charset=utf-8 />        <title>DCMS_CHECKLIST</title>    </head>    <body>        <style>.bold {  font-weight: bold;}.bold td{border: 0px;}table, th, td {    border: 1px solid black;}</td></style>        <table>            <tr class=normal>                <td><a href=rev1/rev1.html>rev1</a></td>                <td> 52.63% </td>                <td> 52.63%</td>            </tr>            <tr class=normal>                <td><a href=rev2/rev2.html>rev2</a></td>                <td> 100.00% </td>                <td> 100.00%</td>            </tr>            <tr class=normal>                <td><a href=rev3/rev3.html>rev2</a></td>                <td> 100.00% </td>                <td> 100.00%</td>            </tr>            <tr class=normal>                <td>OVERALL_STATUS=100.00%</td>            </tr>            <tr class=normal>                <td>PARTIAL_STATUS=100.00%</td>            </tr>        </table>    </body></html>My Query:By using linux command or shell script how can i take only the following lines in all of my .html files<!doctype html><html lang=en>    <head>        <meta charset=utf-8 />        <title>DCMS_CHECKLIST</title>    </head>    <body>        <style>.bold {  font-weight: bold;}.bold td{border: 0px;}table, th, td {    border: 1px solid black;}</td></style>        <table>            <tr class=normal>                <td><a href=rev3/rev3.html>rev2</a></td>                <td> 100.00% </td>                <td> 100.00%</td>            </tr>            <tr class=normal>                <td>OVERALL_STATUS=100.00%</td>            </tr>            <tr class=normal>                <td>PARTIAL_STATUS=100.00%</td>            </tr>        </table>    </body></html>Note:The main theme is i should remove the minimum digits table row(i.e rev1,rev2) and should keep only(rev3).This i should follow for all other .html files from my location.In all .html files the table row will have rev*
How to take maximum row(i.e here rev3) from all .html files in my location using linux command or shell script?
linux;shell script;html