@xeno-by First one - to replace newline from windows with "\n", second one to replace \r - eol for systems before Mac OS X. In updated version I'll use ```resultCode.lines mkString s"$LF"```
@som-snytt I think the version with lines and mkString is better. In this case I don't need EOL because I want to replace all EOLs with "\n".