I've checked my config files - no ^M's anywhere;I use vim for editing everything so it's an easy thing to check. Then, out of a general feeling of paranoia I cat'd the file and grep'd for ^M and they showed up at the end of every line. So I cat'd it again, piped it through a sed filter that swapped ^M for XXX and redirected that into a temp file. A check of the temp files showed XXX at the end of every line. A quick swap in vim and replace the original file with the temp and I'm in business.
Not sure why it's not showing up in vim in the first place but I've got a fix so...
Thanks for the help.