HackerTrans
TopNewTrendsCommentsPastAskShowJobs

XML/Unix Processing Tools(web.archive.org)

3 points·by mindB·3 tahun yang lalu·1 comments
web.archive.org
XML/Unix Processing Tools

https://web.archive.org/web/20150626112902/http://dan.egnor.name/xml2/

1 comments

mindB·3 tahun yang lalu
If you'd like to try these tools, someone has copied the source onto github[1] from the now defunct homepage. I've only been playing with this for a few minutes, but the only "problem" I've run into so far is that 2html omits the <!DOCTYPE> declaration, but that isn't really a problem for me since I was piping the output through tidy anyway.

I've been looking for a nice way of batch-editing html using some sort of sed-like tool, and this is the best option I've seen yet. Beyond that I just find it a neat idea.

[1] https://github.com/clone/xml2