In English writing, quotation marks or inverted commas (informally referred to as quotes or speech marks) are punctuation marks surrounding a quotation, direct speech, or a literal title or name. Quotation marks can also be used to indicate a different meaning of a word or phrase than the one typically associated with it and are often used to express irony. Quotation marks are sometimes used to provide emphasis, although this is usually considered incorrect.
Quotation marks are written as a pair of opening and closing marks in either of two styles: single (‘…’) or double (“…”). Opening and closing quotation marks may be identical in form (called neutral, vertical, straight, typewriter or "dumb" quotation marks), or may be distinctly left-handed and right-handed (typographic or, colloquially, curly quotation marks); see quotation mark glyphs for details. Typographic quotation marks are usually used in manuscript and typeset text. Because typewriter and computer keyboards lack keys to directly enter typographic quotation marks, much typed writing has neutral quotation marks. The “smart quotes” feature in some computer software can convert neutral quotation marks to typographic ones, but sometimes imperfectly.
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.