Killing HTML nodes from shell
- by hendry
Need a solution to kill nodes like <footer>foobar</footer> and <div class="nav"></div> from many several HTML files.
I want to dump a site to disk without the menus and footers and what not. Ideally I would accomplish this task using basic unix tools like sed. Since it's not XML I can't use xmlstarlet.
Could anyone please…