is the classic line_feed on Unix/Linux (his ascii is 10 in decimal and 0a in hexadecimal)
is the classic line_feed on Windows
is the classic line_feed on olds version of MacOs (pre-MacOsX version) (his ascii is 13 in decimal an 0d in hexadecimal)
vs
QUESTION: What is the difference between
and
?
is the newline character, while
is the carriage return.
(They differ in what uses them.)
------- Windows uses
to signify the enter key was pressed.
------- Linux and Unix use
.