I saw answers to questions, but these answers are not in terms of windows from what I can say.
Windows uses CR LF, Unix uses LF, Mac uses LF, and classic mac uses something else. I don’t have the brain power to say that somehow, if the file uses a different line ending with what I type, I get errors when trying to run a script / program that, frankly, does not make much sense. After the conversion, the script works just fine.
Is it necessary in any case to pre-check which lines end with a file in Windows?
source
share