I used a carriage-return-stripping script on this "Hello, World" script, and then there were no errors.
But I'm editing it in VI (well, VIM), and usually these pesky characters show up as ^M. But they weren't visible.
How strange. I feel sooo foolish, though. Why couldn't I see those darn \r's?
vim automatically recognizes DOS-style end-of-lines and treates
them correctly. To force it to use unix-style EOLs, set the
"filetype" variable to "unix":