-
Notifications
You must be signed in to change notification settings - Fork 188
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
ENT-10432: Added new platform-agnostic constant linesep
#5373
Conversation
@cf-bottom Jenkins please :) |
linesep
linesep
@larsewi |
Added new platform-agnostic constant `linesep`, which evaluates to `\r\n` on Windows, otherwise `\n`. Ticket: ENT-10432 Changelog: Commit Signed-off-by: Lars Erik Wik <[email protected]>
Ticket: ENT-10432 Changelog: None Signed-off-by: Lars Erik Wik <[email protected]>
Ticket: ENT-10432 Changelog: None Signed-off-by: Lars Erik Wik <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about MacOS? Also, don't forget to update docs! 👍 otherwise
macOS is same as Linux? |
Good 😌 I recalled it doing |
Haha, that was actually the case (a long time ago). Luckily the UNIX way won :) |
|
linesep
linesep
to constants examplelinesep
constantMerge together with cfengine/documentation#3106