intersystems-ib / workshop-vector-face

MIT License
0 stars 1 forks source link

change line terminator from CR/LF to LF only #4

Closed r-cemper closed 7 months ago

r-cemper commented 7 months ago

irissession.sh is not accepted by sh or bash if lines terminate by CR/LF
could happen by editing in Windows Notepad.
Even GitHub doesn't recognize the difference.

This was the nastiest bug I've seen in the last 5 years. after hours of experimenting, I detected that I couldn't start irissession.sh even manually! Changing the line terminates was rather an "have no idea" - action: though this was the deeper reason.

r-cemper commented 7 months ago

the file in repo is OK direct manual download shows ONLy LF as terminaor download witn GitHub Desktop for Windows converts it to CRLF !!!!!!!!

r-cemper commented 7 months ago

the issue was caused by my fresh GitHub Desktop with DEFAULT crlf conversion enabled. now fixed for me