One of those must be some fancy unicode dash or something from a word processing program, not an ASCII dash.
So, never ever use a word processor to make a script file
Honest mistake though -- I needed a hex dump to tell the difference at all. One is a 1-byte ASCII character. One is a 3-byte UTF-8 thing. (The 0a is a newline.)