If you were using my pseduo files, that is a little odd.
But if you use your own file and some lines have backslash,
command 'read' might continue to read from next line and combine the two lines before and after the blackslash. If that is the case, try 'read -r line' instead 'read line'.
also, when a line is too long, it might be wrapped up. As one of the post on this board suggested, in vi command mode, type ":set list". Each line should end in a $ sign, when you can tell if a line is wrapped or in fact two lines.
However, if you want to turn your lines that are too long into two lines in output file, then you would need to know either a position or a signal as where to break that long line in the old file.
Hope it helps, but feel free to post.