Not an answer, just a comment that youYou can see special characters in a file with "od -c filename"od -c filename. Newlines will look like /n\n. If Windows or source control changed the newlines, you will see /r/n\r\n using od -cod -c, but you won't see anything different with catcat. You can use "dos2unix filename"dos2unix filename to repair those.
Sometimes you will see a sequence of control characters that cat would print out to look like a "-" or some other valid character.