Slash (punctuation)
From Free net encyclopedia
- Due to technical limitations, /. redirects here. You may be looking for Slashdot, the technology web site.
Punctuation marks |
---|
apostrophe ( ' ) ( ’ ) |
Interword separation |
spaces: ( ) ( ) ( ) |
Other typographer's marks |
ampersand ( & ) |
A solidus, oblique or slash, /, is a punctuation mark. It is also called a diagonal, separatrix, shilling mark, stroke, virgule, scratch comma, slant, or forward slash.
Contents |
Usage
History
This symbol goes back to the days of ancient Rome. In the early modern period, in the Fraktur script, which was widespread through Europe in the Middle Ages, one slash (/) represented a comma, while two slashes (//) represented a Dash. The two slashes eventually evolved into a sign similar to the Equals sign (=), then being further simplified to a single dash (-).
English
The most common use is to replace the hyphen to make clear a strong joint between words or phrases, such as "the Ernest Hemingway/William Faulkner generation". Yet very often it is used to represent the concept or, especially in instruction books.
The symbol also appears in the phrase and/or, a prose representation of the logical concept of logical disjunction. The State Legislature of Georgia, however, has banned this usage as cumbersome.
The slash has been used as the title of a novel by Greg Bear, / (Slant). The "Slant" was added on to give people something to call the book, but it has ultimately become the accepted title in many book lists.
The slash is often used (incorrectly) to separate the letters in a two-letter initialism, such as R/C (short for radio control) or even w/e (an internet slang abbreviation for whatever). Purists strongly discourage this misuse of the symbol, however, because it could potentially create confusion about its meaning.
The virgule is also used to indicate a line break when quoting multiple lines from a poem, play, or headline.
For a specialized use of the slash in the titles of fan fiction stories, see slash fiction.
The solidus and virgule are distinct typographic symbols with decidedly different uses. The solidus is significantly more oblique than the virgule. The character found on standard keyboards is the virgule and while most people lump the two characters together, (and when there is no alternative it is acceptable to use the virgule in place of the solidus,) they are different. The solidus is used in the display of ratios and fractions as in constructing a fraction using superscript and subscript as in “123⁄456”; the virgule is used for essentially any other textual purpose.
Linguistics
Slashes are used to enclose a phonemic transcription of speech.
Arithmetic
A solidus is used to separate the numerator and denominator in a vulgar fraction, or as a division operator in general.
- 3/8 (three eighths)
- x = a / b (x equals a divided by b)
The special character Fraction slash U+2044, character ⁄ (the solidus or shilling mark proper), can be used instead of a virgule, and is preferred whenever possible. It is also found in many legacy Apple Macintosh character sets. Systems capable of fine typography should display the result as a true fraction with smaller numbers. Unicode also distinguishes the Division Slash U+2215 (∕) which may be more oblique than the normal solidus character.
Computing
Files
On Unix-like systems, the slash carries two distinct meanings. Its primary use, as with URLs, is to separate directory and file components of a path:
- pictures/image.jpg
- http://en.wikipedia.org/wiki/Slash_%28punctuation%29
A leading slash however represents the root directory of the Virtual file system; it is used when specifying absolute paths:
- /home/joe/pictures/image.jpg
It is sometimes called a "forward slash" to contrast with the backslash \, which is the path delimiter on MS-DOS and Microsoft Windows systems. These operating systems use the backslash rather than the slash because in the early days of CP/M—before directories were supported —the slash was chosen as the command-line option indicator:
- dir /w /ogn
Note however that the "forward slash" will be translated into a backslash by most versions of DOS and Windows, in contexts where there is little ambiguity with command-line options. Some people incorrectly refer to a slash as a "backslash", for instance when reading URLs out loud.
Chat
Many Internet Relay Chat and in-game chat clients use the slash to distinguish commands, such as the ability to join or part a chat room or send a private message to a certain user.
- /join #services - to join channel "#services"
- /me sings a song about birds.
Programming
In computer programming, the solidus corresponds to Unicode and ASCII character 47, or 0x002F. It is used in the following settings:
- In most programming languages, / is used as a division operator,
- Comments in C, [[C++]], CSS and Java begin with /* (a slash and an asterisk), and end with */ (the same characters in the opposite order).
- C99, C++, and Java also have comments that begin with // (two slashes) and span a single line.
- In HTML and XML, a slash is used to indicate a closing tag. For example, in HTML, </em> ends a section of emphasized text that had been started with <em>.
Dates
Certain shorthand date formats use / as a delimiter, for example "9/16/2003" (in United States usage) or "16/9/2003" (in many other countries) means September 16, 2003.
In Britain there was a specialized use in prose: 7/8 May referred to the night which starts the evening of 7 May and ends the morning of 8 May, totalling about 12 hours depending on the season. This was used to list night-bombing air-raids which would carry past midnight. Some police units in the US use this notation for night disturbances or chases. Contrariwise, the form with a hyphen, 7-8 May, would refer to the two-day period, at most 49 hours. This would commonly be used for meetings.
The International Standard ISO 8601, in attempting to resolve this ambiguity, introduced problems of its own. According to this norm, dates must be written year-month-day using hyphens, but time periods are written as two standard dates separated by a slash: 1939-09-01/1945-05-08, for example, would be the duration of the Second World War in the European theatre, while 09-03/12-22 might be used for a fall term of a Western school, from September third to December twenty-second.
British money
Before decimalisation in the UK, currency amounts in pounds, shillings, and pence were abbreviated with three characters, "£", "s.", "d", for example, "£3 4s. 2d." The "s" and "d" refer to the equivalent Roman currency notation referring to the Solidius and Denarius. As a further abbreviation, / was used to separate the three currencies:
2/6 two shillings and six pence 10/- ten shillings £1/19/11 one pound, nineteen shillings, and eleven pence
The dash in the above table is used to represent zero. It is this usage (in particular, separating shillings from pence) that brought about the name "Solidus" in the English language to refer to this character.
Proofreading
When highlighting corrections on a proof, a copy editor will either write what he thinks should be changed--or why it should be changed--in the margin. He separates his comments with a slash called a separatrix.
In addition, when marking an uppercase letter for conversion to lowercase, an editor will put a slash through it and write lc or l/c in the margin.
Alternative names
Sometimes the slash is called stroke (and oblique stroke) , although that may be confused with the hyphen. Stroke is most commonly used among the North American amateur radio community.
Among American telephone technical support representatives in the computer industry, the double-slash in a URL address is commonly nicknamed "whack-whack." For example, the representative may tell the user to go to a support website: "OK, open up a browser and type in the following address: http colon whack-whack, www dot supportsite dot com." The origins of this slang term are not known but may be related to the slang for the exclamation point (!) which support engineers, especially in password resets, often refer to as "bang." —C.J. Newtonda:Skråstreg de:Schrägstrich fr:Barre oblique he:קו נטוי nl:Schuine streep ja:スラッシュ (記号) ru:Косая черта fi:Vinoviiva sv:Snedstreck