in reply to Re^2: Replace new line with white space
in thread Replace new line with white space

No, it won't affect efficiency. Although you attempt to "read" line by line, the underlying library is actually reading block by block, and the <> operator parses the line and give you one line each time.
  • Comment on Re^3: Replace new line with white space