Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 1 commit into from

Conversation

r-cemper
Copy link

@r-cemper r-cemper commented Mar 29, 2024

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.

not accepted by Sh or bash of lines ar terminate by CR/LF  
could happen by editing in Windows Notepad
@r-cemper r-cemper mentioned this pull request Mar 29, 2024
@r-cemper
Copy link
Author

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 r-cemper closed this Mar 30, 2024
@r-cemper
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant