Synthesis of benzothiazoles via ipso substitution of ortho-methoxythiobenzamides.