Is there something that chould make my work easier when I'm writing in html files using alot of html code. This *manual* search and add a '\' drives me nuts. Now I found and fix one and another one appears.. seesh. Isn't there a easier way to do so?
Once the game is over, the king and the pawn go back in the same box.
Well, I have to write a html code to tcl file and generate a html page in the end. In the html code are some "'s and to make the tcl work I must put a \ in front of it.
Why don't you put the html in an html file? If all you're doing is a bunch of puts "<blah>blahblah</blah>" then that would be best. If you need to substitute values into it, read in the html template file and use regsub.
Also I don't see what the problem is with ppslim's suggestion of using { }. You rarely use curly brackets in html, so you could do something like
puts {<META content="foo" name=GENERATOR></HEAD>
line 2
line 3
line 4
}