newline code support the case of CRLF
add thor task