I forsaw the possibility of some pedant like me raising the spelling of that expletive, and therefore Googled the most popular spelling before I posted. At that time it seemed to be the way wot a rote it! However, latest Google shows approx 50/50 split with two separate words! or even three (God damn it!)