我知道windows和unix中有不同的换行代码。但在 Powershell 中, 和 都`r`n用于`n换行。是否有从`n到 的自动转换`r`n?为什么必须使用引号而不是反斜杠?
`r`n
`n
powershell newline line-breaks
line-breaks ×1
newline ×1
powershell ×1