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

Support CRLF in shell ENV files #2793

Merged
merged 1 commit into from
May 23, 2023

Conversation

ferd
Copy link
Collaborator

@ferd ferd commented May 23, 2023

As reported in a comment in #2090 the current mechanism only breaks on a \n and does not even respect the \r\n grapheme cluster. So instead of using string functions, we go to regular expressions where we can specify both endings without a problem.

As reported in a comment in erlang#2090
the current mechanism only breaks on a \n and does not even respect the
\r\n grapheme cluster. So instead of using string functions, we go to
regular expressions where we can specify both endings without a problem.
@ferd ferd force-pushed the support-crlf-in-shell-env-files branch from 06438a4 to 53bba4b Compare May 23, 2023 15:17
@ferd ferd merged commit 26d3189 into erlang:main May 23, 2023
6 checks passed
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