Skip to content

Julia v1.7.0, \ and newline on Windows #41330

@PaulSoderlind

Description

@PaulSoderlind

Julia 1.7.0-beta2 allows \ to remove the newline as in

txt = "This is a long \
line"
println(txt)

to print as
This is a long line

Nice, but this does not work with the Windows standard \r\n. I guess this could easily lead to mix-ups when moving code across platforms.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions