3 ms·
If you write it to a text file by itself and then read it from that text file, each runtime can have a different definition of whether a newline at the end of t
by ghusbands 3y ago
If you write it to a text file by itself and then read it from that text file, each runtime can have a different definition of whether a newline at the end of the file is meaningful or not. Under POSIX, a newline should always be present at the end of a non-empty text file and is not meaningful; not everyone agrees or is aware.
There are plenty of other ways, too; bugs happen.
- coldtea 3y agoIdeally no runtime should alter strings passing through ("in transit") from one runtime to another - unless it does some processing on them.