# Julia v1.7.0, \\ and newline

**URL:** <https://discourse.julialang.org/t/julia-v1-7-0-and-newline/63441>\
**Category:** Internals & Design\
**Created:** [June 23, 2021, 2:02pm UTC](https://discourse.julialang.org/t/julia-v1-7-0-and-newline/63441 "2021-06-23T14:02:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paul\_Soderlind](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/paul_soderlind/32/1753_2.png) [@Paul\_Soderlind](https://discourse.julialang.org/u/Paul_Soderlind)\
**Post date:** [June 23, 2021, 2:02pm UTC](https://discourse.julialang.org/t/julia-v1-7-0-and-newline/63441/1 "2021-06-23T14:02:55Z")

</div>

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

```julia
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.

---

<div class="post-metadata">

**Author:** ![mbauman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mbauman/32/31082_2.png) [@mbauman](https://discourse.julialang.org/u/mbauman)\
**Post date:** [June 23, 2021, 2:20pm UTC](https://discourse.julialang.org/t/julia-v1-7-0-and-newline/63441/2 "2021-06-23T14:20:39Z")

</div>

Would you be willing to report that as [an issue](https://github.com/JuliaLang/julia/issues/new)? It can then get tracked there as a release blocker (if appropriate).

---

<div class="post-metadata">

**Author:** ![Paul\_Soderlind](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/paul_soderlind/32/1753_2.png) [@Paul\_Soderlind](https://discourse.julialang.org/u/Paul_Soderlind)\
**Post date:** [June 23, 2021, 2:26pm UTC](https://discourse.julialang.org/t/julia-v1-7-0-and-newline/63441/3 "2021-06-23T14:26:10Z")

</div>

Done

> <https://github.com/JuliaLang/julia/issues/41330>
>
> 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.
