1

Adding incomplete HTML code to a file

view story
linux-howto

http://www.unix.com – Hi folks, I am scraping data from the Internet that has the format similar to what's on this page -- Trigger Notice Report The code I've written for scraping and storing results works fine when the HTML code is well written, but not when there are mistakes. In particular, the code breaks when there are no tags for closing a table rows. If you view the source for the link above, you will see that there are '</TR>'s which indicate the end of an HTML row, but sometimes not a new '<TR>' to indicate the beginning of the next row. I need to use somethink like awk or sed to basically (HowTos)