shell - Remove all content in an HTML table using the sed command -
i remove in between <table...</table> including 2 tags:
<table border="1" cellspacing="0" summary=""> <tr> <td class="small-beige-item"> <a href="http://www.electoral- </tbody> </table> i using
sed 's/\<table[^<table]*\</table>//g' but error. doing wrong?
backup file.
sed -ie '/<table.*>/,/<\/table>/d' filename html shell unix sed
No comments:
Post a Comment