You may try 
[https://nim-lang.org/docs/strutils.html#splitLines.i%2Cstring](https://nim-lang.org/docs/strutils.html#splitLines.i%2Cstring),
 and you may store the lines in a seq[string] so that you can write them out 
after processing.

Reply via email to