On 12/30/2010 11:01 AM John Doe wrote:
From: ken gebser@mousecar.com
Some file this script would need to process could very well be ridiculously huge, which is why I chose to process line-by-line.
Secondly, yes, I was already using the general strategy of taking out the newlines (where they're misplaced) and then putting them back in (where they should be). It was probably difficult to discern that just from the code.
Thanks for your reply, but it doesn't really address the problem.
Not really an answer but why not use an html beautifier...? http://www.w3.org/People/Raggett/tidy/
Thanks. Cool program. But for some reason it mangles the file in a few ways. So I can't use it.
....