【发布时间】:2019-02-22 06:50:11
【问题描述】:
我需要使用 shell 脚本从 html 内容中解析值。 例如:
<tr class="abc" some-value ="12344">1000</tr>
<tr class="abc" some-value ="134556">2000</tr>
假设在 HTML 页面中有 50 个相同的<tr> </tr>,如上面的示例中所述。使用 shell 我需要得到这 50 个 <tr> </tr>。如果有人可以帮助我,将不胜感激。
【问题讨论】:
标签: shell