fix output of 0
repl: handle \r and \n identical
add new function readLineWise