D'oh! is a real word in the Oxford English Dictionary. In The Simpsons scripts, it just says 'annoyed grunt.'

D’oh! is a real word in the Oxford English Dictionary. In The Simpsons scripts, it just says “annoyed grunt.”

“D’oh” (typically represented in the show’s script as ” (annoyed grunt) “) is a famous catchphrase of Homer Simpson. It was famously accepted by people and was added into the Oxford English Dictionary in 2001.

Source