The comma, in Unicode U+002C , comma (HTML: ,
), is a punctuation mark, and includes several variants in various languages. It has the same shape as an apostrophe or single closing quotation mark in many typefaces, but it differs from them in being placed on the baseline of the text. Some typefaces render it as a small line, slightly curved or straight but inclined from the vertical, or with the appearance of a small, filled-in number 9. It is used to separate parts of a sentence such as clauses, and lists of three or more things.
The comma is used in many contexts and languages, principally for separating things. According to the Oxford English Dictionary, the word comma comes directly from the Greek komma (κόμμα), which means something cut off or a short clause.
Commas are often used as markers in prose and lists; some are used as diacritics when combined with other characters.
In the 3rd century BC, Aristophanes of Byzantium invented a system of single dots (distinctiones) that separated verses (colometry), and indicated the amount of breath needed to complete each fragment of text, when reading aloud. The different lengths were signified by a dot at the bottom, middle, or top of the line. For a short passage (a komma), a media distinctio dot was placed mid-level ( · ). This is the origin of the concept of a comma, although the name came to be used for the mark itself, instead of the clause it separated.
In computing, a newline, also known as a line break or end-of-line (EOL) marker, is a special character or sequence of characters signifying the end of a line of text. The name comes from the fact that the next character after the newline will appear on a new line—that is, on the next line below the text immediately preceding the newline. The actual codes representing a newline vary across operating systems, which can be a problem when exchanging text files between systems with different newline representations.
There is also some confusion whether newlines terminate or separate lines. If a newline is considered a separator, there will be no newline after the last line of a file. The general convention on most systems is to add a newline even after the last line, i.e. to treat newline as a line terminator. Some programs have problems processing the last line of a file if it is not newline terminated. Conversely, programs that expect newline to be used as a separator will interpret a final newline as starting a new (empty) line.