Usually you will only see those if the first line was the end of the unix (lf) line, but it also includes the end of the DOS lines. To delete them (and fix the file), download it again using: e ++ ff = dos, then: set ff = unix, then write.
In Java code, if you write text data instead of binary, use PrintStream and use print () and println (), which adds the correct line ending for your system.
source share