All Topics  
Slash (punctuation)

 

   Email Print
   Bookmark   Link






 

Slash (punctuation)



 
 
The slash ( / ) is a punctuation mark. It is also called a virgule, diagonal, stroke, forward slash, oblique dash, slant, separatrix, scratch comma, over, slak, whack. In Unicode
Unicode

Unicode is a computing industry standard allowing computers to consistently represent and manipulate Character expressed in most of the world's writing systems....
, the slash is called SOLIDUS (U+002F), even though a slash is usually distinguished from the solidus
Solidus (punctuation)

The solidus is a punctuation mark that is not found on standard keyboards. It may also be called a shilling mark or in-line fraction bar or a forward-slash....
 (or shilling mark), in that the slash is more nearly vertical.

History
This symbol goes back to the days of ancient Rome
Rome

Rome is the capital city of Italy and Lazio, and is Italy's largest and most populous city, with 2,724,347 residents in an urban area of some ....
.






Discussion
Ask a question about 'Slash (punctuation)'
Start a new discussion about 'Slash (punctuation)'
Answer questions from other users
Full Discussion Forum



Encyclopedia


The slash ( / ) is a punctuation mark. It is also called a virgule, diagonal, stroke, forward slash, oblique dash, slant, separatrix, scratch comma, over, slak, whack. In Unicode
Unicode

Unicode is a computing industry standard allowing computers to consistently represent and manipulate Character expressed in most of the world's writing systems....
, the slash is called SOLIDUS (U+002F), even though a slash is usually distinguished from the solidus
Solidus (punctuation)

The solidus is a punctuation mark that is not found on standard keyboards. It may also be called a shilling mark or in-line fraction bar or a forward-slash....
 (or shilling mark), in that the slash is more nearly vertical.

History


This symbol goes back to the days of ancient Rome
Rome

Rome is the capital city of Italy and Lazio, and is Italy's largest and most populous city, with 2,724,347 residents in an urban area of some ....
. In the early modern period
Early modern period

The early modern period is a term used by historians to refer to the period roughly between 1500 to 1800 in Western Europe . It follows the Late Middle Ages period, and is marked by the first European colony, the rise of strong centralized governments, and the beginnings of recognizable nation states that are the direct antecedents of today'...
, in the Fraktur
Fraktur (typeface)

The German word Fraktur refers to a specific sub-group of blackletter typefaces. The word derives from the past participle fractus of Latin frangere ....
 script, which was widespread through Europe in the Middle Ages, one slash (/) represented a comma
Comma (punctuation)

The comma is a punctuation mark. 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....
, while two slashes (//) represented a dash. The two slashes eventually evolved into a sign similar to the equals sign
Equals sign

The equal sign, equals sign, or "=" is a mathematical symbol used to indicate equality . It was invented in 1557 by Welsh people Robert Recorde....
 (=), then being further simplified to a single dash or hyphen (–).

Usage


In English text


The most common use is to replace the hyphen
Hyphen

A hyphen is a punctuation mark. It is used both to join words and also to separate syllables of a single word. It is often confused with the dash , which are longer and have different uses, and with the minus sign which is also longer....
 or en dash to make clear a strong joint between words or phrases, such as "the Hemingway/Faulkner generation". Yet very often it is used to represent the concept "or", especially in instruction books.

The virgule is also used to indicate a line break when quoting multiple lines from a poem
Poetry

Poetry is a form of literature art in which language is used for its aesthetics and evocative qualities in addition to, or in lieu of, its apparent meaning ....
, play, or headline
Headline

A headline is text at the top of a newspaper article, indicating the nature of the article below it.It is sometimes termed a news hed, a deliberate misspelling that dates from production flow during hot type days, to notify the composing room that a written note from an editor concerned a headline and should not be set in type....
. In this case (and only in this case), a space is placed before and after the virgule. For example: "Love alters not with his brief hours and weeks, / But bears it out even to the edge of doom".

In an ordinary prose quotation, such a spaced virgule is sometimes used to represent the start of a new paragraph.

British English particularly makes use of this alternation with a hyphen in forming abbreviations. Many examples are found in writings during the Second World War. For example, 'S/E' means 'single-engined', as a quick way of writing a type of aircraft. And in the US, "O/O" is used by trucking firms or taxicabs to mean "owner-operator" (or "owned and operated by"). Notice that the phrase has a hyphen, whereas the abbreviation uses the slash.

In the U.S. Government, office names are abbreviated using slashes, starting with the larger office and following with its subdivisions. In the State Department, the Office of Commercial & Business Affairs in the Bureau for Economic, Energy and Business Affairs is referred to as EEB/CBA.

The slash is often used, perhaps incorrectly, to separate the letters in a two-letter initialism such as R/C (short for radio control) or w/o (without). Purists strongly discourage this newer use of the symbol. However, since other uses of the slash with individual characters are highly context-specific, confusion is not likely to arise. Other examples include b/w (between or, sometimes, black and white), w/e (whatever, also weekend or week ending), i/o (input-output), and r/w (read-write).

The slash is also used in some abbreviation
Abbreviation

An abbreviation is a shortened form of a word or phrase. Usually, but not always, it consists of a letter or group of letters taken from the word or phrase....
s such as w/ (with).

There are usually no spaces on either side of a slash or virgule. Typical exceptions are in representing the start of a new line when quoting verse, or a new paragraph when quoting prose, etc. The Chicago Manual of Style
The Chicago Manual of Style

The Chicago Manual of Style is a style guide for American English published since 1906 by the University of Chicago Press. Its 15 editions have prescribed writing and citation styles widely used in publishing....
 (at 6.112) also allows spaces when either of the separated items is a compound that itself includes a space: Our New Zealand / Western Australia trip. (Compare use of an en dash used to separate such compounds.)

The slash is also used to avoid taking a position in a naming controversy
Naming controversy

A naming controversy is a controversy surrounding terminology:*geographical naming disputes*ethnonymy**ethnic slurs**Native American name controversy...
, allowing the juxtaposition of both names without stating a preference. An example is the designation "Assyrian/Chaldean/Syriac" in the official US census, reflecting the Syriac naming dispute. The Swedish census has come to a similar solution, using Assyrier/Syrianer to refer to the same ethnic group.

Proofreading


When highlighting corrections on a proof, a copy editor will 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.

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.

Arithmetic


The solidus
Solidus (punctuation)

The solidus is a punctuation mark that is not found on standard keyboards. It may also be called a shilling mark or in-line fraction bar or a forward-slash....
 and virgule are distinct typographic symbols with decidedly different uses. The solidus is significantly more horizontal 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.

Currency


A slash followed by a dash is used to denote the conclusion of currency. For example, on a check or a hand-written invoice, somebody may write $50/- to denote the end of the currency. This keeps anybody from adding further digits to the end of the currency.

Bowling

A slash is typically used to denote a spare, knocking down all ten pins in two throws, when scoring ten-pin bowling
Ten-pin bowling

Ten-pin bowling is a Competition sport in which a player bowling form a bowling ball down a wooden or synthetic lane with the objective of scoring points by knocking down as many Bowling pin as possible....
, candlepin bowling
Candlepin bowling

Candlepin bowling is a variation of bowling that is played primarily in the Canadian Maritimes and in the New England states of Maine, Massachusetts, Vermont and New Hampshire....
 and duckpin bowling
Duckpin bowling

Duckpin bowling is a variation of bowling. The balls used in duckpin bowling are significantly smaller than those used in ten-pin bowling, and weigh 1-2 kilograms The pins, like the balls, are smaller than their ten-pin equivalents, and it is therefore more difficult to knock them all down with a single roll....
.

Computing


Files
On Unix-like
Unix-like

A Unix-like operating system is one that behaves in a manner similar to a Unix system, while not necessarily conforming to or being certified to any version of the Single UNIX Specification....
 systems and in URL
Uniform Resource Locator

In Information technology, a Uniform Resource Locator is a type of Uniform Resource Identifier that specifies where an identified resource is available and the mechanism for retrieving it....
s, the slash is to separate directory and file components of a path
Path (computing)

A path is the general form of a computer file or directory name, specifying a unique location in a file system. A path points to a file system location by following the directory tree hierarchy expressed in a string of character in which path components, separated by a delimiting character, represent each directory....
:

pictures/image.jpg


http://en.wikipedia.org/wiki/Slash_(punctuation)


A leading slash represents the root directory of the virtual file system
Virtual file system

A virtual file system or virtual filesystem switch is an abstraction layer on top of a more concrete file system. The purpose of a VFS is to allow client applications to access different types of concrete file systems in a uniform way....
; it is used when specifying absolute paths:

/home/john/pictures/image.jpeg


It is sometimes called a "forward slash" to contrast with the backslash
Backslash

The backslash is a typographical mark used chiefly in computing. It was first introduced to computers in 1960 by Bob Bemer. Sometimes called a reverse solidus or an oblique, it is the mirror image of the common slash ....
 \, which MS-DOS
MS-DOS

MS-DOS is an operating system commercialized by Microsoft. It was the most commonly used member of the DOS family of operating systems and was the main operating system for personal computers during the 1980s....
 and Microsoft Windows
Microsoft Windows

Microsoft Windows is a series of software operating systems and graphical user interfaces produced by Microsoft. Microsoft first introduced an operating environment named Windows in November 1985 as an add-on to MS-DOS in response to the growing interest in graphical user interfaces ....
 systems also accept as a path delimiter. The slash would have been the preferred path delimiter, but MSDOS 2 added the backslash to allow paths to be typed into the command shell while retaining compatibility with CP/M
CP/M

CP/M is an operating system originally created for Intel 8080/Intel 8085 based microcomputers by Gary Kildall of Digital Research. Initially confined to single tasking on 8-bit processors and no more than 64 kilobytes of memory, later versions of CP/M added multi-user variations, and were migrated to 16-bit processors....
—before directories were supported—where the slash was chosen as the command-line option indicator. For instance you could still use the "wide" option to the "dir" command by typing "dir/w", yet you could run the program "w" in the subdirectory "dir" with "dir\w".

Although the command shell was the only part of MSDOS that required this, for some reason the use of backslash was propagated to most other parts of the user interface, to the point that although the underlying operating system supports either character as the path delimiter, some software programs do not accept the slash as a path delimiter. If slashes are used in path arguments to command-line programs, they may be misinterpreted; some programs will accept them if the path is placed in double-quotes
Quotation mark

Quotation marks or inverted commas are punctuation marks used in pairs to set off speech, a quotation, a phrase or a word. The pair consists of an opening quotation mark and a closing quotation mark, which may or may not be the same character....
. Many GUI programs fail to recognize slashes in paths and will misuse them, sometimes leading to security holes.

Chat
Many Internet Relay Chat
Internet Relay Chat

Internet Relay Chat is a form of real-time Internet text messaging or synchronous conferencing. It is mainly designed for Many-to-many in discussion forums, called #Channels, but also allows One-to-one via instant messaging, as well as chat and data transfers via Direct Client-to-Client....
 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. The slash has also been used in many chat mediums as a way of expressing an action or statement in the likeness of a fake command.

/join #services – to join channel
Internet Relay Chat

Internet Relay Chat is a form of real-time Internet text messaging or synchronous conferencing. It is mainly designed for Many-to-many in discussion forums, called #Channels, but also allows One-to-one via instant messaging, as well as chat and data transfers via Direct Client-to-Client....
 "#services"


/me sings a song about birds.


/endrant


Programming
In computer programming
Computer programming

Computer programming is the process of writing, testing, debugging/troubleshooting, and maintaining the source code of computer programs. This source code is written in a programming language....
, the slash corresponds to Unicode
Unicode

Unicode is a computing industry standard allowing computers to consistently represent and manipulate Character expressed in most of the world's writing systems....
 and ASCII
ASCII

American Standard Code for Information Interchange , is a coding standard that can be used for interchanging information, if the information is expressed mainly by the written form of English words....
 character
Character (computing)

In computer and machine-based telecommunications terminology, a character is a unit of information that roughly corresponds to a grapheme, grapheme-like unit, or symbol, such as in an alphabet or syllabary in the written language form of a natural language....
 47, or 0x
Hexadecimal

In mathematics and computer science, hexadecimal is a numeral system with a radix, or base, of 16. It uses sixteen distinct symbols, most often the symbols 09 to represent values zero to nine, and A, B, C, D, E, F to represent values ten to fifteen....
002F. Note that ISO and Unicode.org both designate this character as the “SOLIDUS”, while calling the solidus
Solidus (punctuation)

The solidus is a punctuation mark that is not found on standard keyboards. It may also be called a shilling mark or in-line fraction bar or a forward-slash....
 “FRACTION SLASH”, in direct contradiction to long-established English
English language

English is a West Germanic language that originated in Anglo-Saxon England and has lingua franca status in many parts of the world as a result of the military, economic, scientific, political and cultural influence of the British Empire in the 18th, 19th and early 20th centuries and that of the United States from the mid 20th century onwa...
 typesetting terminology. It is used in the following settings:

  • In most programming language
    Programming language

    A programming language is a machine-readable artificial language designed to express computations that can be performed by a machine, particularly a computer....
    s, / is used as a division operator. Starting with version 2.2, Python
    Python (programming language)

    Python is a general-purpose high-level programming language. Its design philosophy emphasizes code readability. Python's core syntax and semantics are Minimalism , while the standard library is large and comprehensive....
     uses // (two slashes) for integer division, rounding down.
  • MATLAB
    MATLAB

    MATLAB is a Numerical analysis environment and programming language. Maintained by The MathWorks, MATLAB allows easy matrix manipulation, plotting of function and data, implementation of algorithms, creation of user interfaces, and interfacing with programs in other languages....
     and GNU Octave
    GNU Octave

    Octave is a computer program for performing numerical analysis which is mostly compatible with MATLAB. It is part of the GNU Project. It is free software under the terms of the GNU General Public License....
     also have the ./ (a dot and a slash) to indicate an element-by-element division of matrices.
  • Comments in C
    C (programming language)

    C is a general-purpose computer programming language originally developed in 1972 by Dennis Ritchie at the Bell Telephone Laboratories to implement the Unix operating system....
    , C++
    C++

    C++ is a general-purpose programming language. It is regarded as a middle-level language, as it comprises a combination of both high-level programming language and low-level programming language language features....
    , C#, Java
    Java (programming language)

    Java is a programming language originally developed by James Gosling at Sun Microsystems and released in 1995 as a core component of Sun Microsystems' Java ....
    , PHP
    PHP

    PHP is a scripting language originally designed for producing dynamic web pages. It has evolved to include a command line interface capability and can be used in Standalone software Graphical user interface....
    , CSS
    Cascading Style Sheets

    Cascading Style Sheets is a stylesheet language used to describe the presentation of a document written in a markup language. Its most common application is to style web pages written in HTML and XHTML, but the language can be applied to any kind of XML document, including Scalable Vector Graphics and XUL....
    , and SAS
    SAS System

    SAS is an integrated system of software products provided by SAS Institute that enables the programmer to perform:*data entry, Information retrieval, Data management, and Data mining...
     begin with /* (a slash and an asterisk), and end with */ (the same characters in the opposite order).
  • C99
    C99

    C99 is a modern dialect of the C programming language....
    , C++
    C++

    C++ is a general-purpose programming language. It is regarded as a middle-level language, as it comprises a combination of both high-level programming language and low-level programming language language features....
    , C#, PHP
    PHP

    PHP is a scripting language originally designed for producing dynamic web pages. It has evolved to include a command line interface capability and can be used in Standalone software Graphical user interface....
    , and Java
    Java (programming language)

    Java is a programming language originally developed by James Gosling at Sun Microsystems and released in 1995 as a core component of Sun Microsystems' Java ....
     also have comments that begin with // (two slashes) and span a single line.
  • In SGML and derived languages such as HTML
    HTML

    HTML, an Acronym and initialism of HyperText Markup Language, is the predominant markup language for Web pages. It provides a means to describe the structure of text-based information in a document?by denoting certain text as links, headings, paragraphs, lists, and so on?and to supplement that text with interactive forms, embedded '...
     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>.
  • Slashes are used as the standard delimiters for regular expression
    Regular expression

    In computing, regular expressions provide a concise and flexible means for identifying strings of text of interest, such as particular characters, words, or patterns of characters....
    s, although other characters can be used instead.
  • Slashes are sometimes used to show italics, when no special formatting is available. Example: /Italic text/


Dates

Certain shorthand date formats use / as a delimiter, for example "9/16/2003" (in United States
United States

The United States of America is a Federal government constitutional republic comprising U.S. state and a federal district. The country is situated mostly in central North America, where its Contiguous United States and Washington, D.C., the Capital districts and territories, lie between the Pacific Ocean and Atlantic Oceans, Borders of the U...
 usage) or in most other countries "16/9/2003" 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. Conversely, the form with a hyphen, 7-8 May, would refer to the two-day period, at most 48 hours. This would commonly be used for meetings.

The International Standard ISO 8601
ISO 8601

ISO 8601 is an international standard for calendar date and time representations issued by the International Organization for Standardization . Specifically, the standard is titled "Data elements and interchange formats ? Information interchange ? Representation of dates and times"....
, 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. Instead of the slash in some applications a double hyphen is used, e.g. 1939-09-01--1945-05-08, which would allow the use of the duration in filenames.

Fiction

For a specialized use of the slash in the titles of fan fiction
Fan fiction

Fan fiction is a broadly-defined term for stories about characters or settings written by fans of the original work, rather than by the original creator....
 stories, see slash fiction
Slash fiction

Slash fiction is a genre of fan fiction that focuses on the depiction of romantic or sexual relationships between characters of the same sex. The characters are usually not be engaged in such relationships in the canon universe....
.
The slash has been used as the title of a novel by Greg Bear
Greg Bear

Gregory Dale Bear is an American science fiction and mainstream author. His work has covered themes of galactic conflict , artificial universes , consciousness and cultural practices , and accelerated evolution ....
, / (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 also the symbol for a wand in NetHack
NetHack

NetHack is a single-player roguelike video game originally released in 1987 in video gaming. It is a descendant of an earlier game called Hack , which is a descendant of Rogue ....
.

Linguistics

Slashes are used to enclose a phonemic
Phoneme

In human language, a phoneme is the smallest posited linguistically distinctive unit of sound. Phonemes carry no semantic content themselves. In theoretical terms, phonemes are not the physical segment s themselves, but cognitive abstractions or categorizations of them....
 transcription
Transcription (linguistics)

Transcription is the conversion into written, typewritten or printed form, of a spoken language source, such as the proceedings of a court hearing....
 of speech.

Physics

In quantum field theory
Quantum field theory

Quantum field theory or QFT provides a theoretical framework for constructing quantum mechanics models of systems classically described by field or of Many-body problem....
, a slash through a symbol, such as a?, is shorthand
Shorthand

Shorthand is an abbreviated symbolic writing method that increases speed or brevity of writing as compared to a normal method of writing a language....
 for ?µaµ, where a is a covariant four-vector
Four-vector

In the theory of relativity, a four-vector is a vector in a four-dimensional real vector space, called Minkowski space. It differs from a vector in that it can be transformed by Lorentz transformations....
, the γμ are the gamma matrices
Gamma matrices

In mathematical physics, the gamma matrices, , also known as the Dirac matrices, form a matrix-valued representation of a set of orthogonal basis vectors for contravariant vectors in space time, from which can be constructed a Clifford algebra....
, and the repeated index μ is summed over according to the Einstein notation
Einstein notation

In mathematics, especially in applications of linear algebra to physics, the Einstein notation or Einstein summation convention is a notational convention useful when dealing with coordinate formulas....
.

Other alternations with hyphen

Besides the varied usage with dates, the slash is used to indicate a range of serial numbers which have the hyphen already as part of their alphanumeric symbol set. The primary example is the US Air Force serial numbers for aircraft. These are usually written, for example, as "85-1000", for the thousandth aircraft ordered in fiscal year 1985. To designate a series of serial numbers, the slash is used, as in 85-1001/1050 for the first fifty subsequent aircraft.

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
Amateur radio

Amateur radio, often called Etymology of ham radio, is both a hobby and a service in which participants, called "hams," use various types of radio communications equipment to communicate with other radio amateurs for Public services, recreation and self-training....
 community. The word stroke is also used in British English, where it is also common to hear someone say "this stroke that" instead of "this or that", whereas a North American speaker may say "this slash that".

List of terms for the character include:
  • Common: slash; stroke; slant
    Slant

    Slant can refer to:*Bias or other non-Objectivity in journalism, politics, academia or other fields*A growth medium such as agar set in an inclined glass tube for growing microbiological cultures....
    ; forward slash; forward stroke
  • Rare: diagonal
    Diagonal

    A diagonal can refer to a line joining two nonconsecutive vertices of a polygon or polyhedron, or in informal contexts any upward or downward sloping line....
    ; solidus
    Solidus

    Solidus can refer to:*Solidus , the "/" punctuation character*solidus , a concept in chemistry, materials science, and physics*solidus , a coin used in Ancient Rome...
    ; over
    Over

    Over may refer to:...
    ; slak; virgule; [slat]
  • Suggested: John Peel
    John Peel

    John Robert Parker Ravenscroft, Order of the British Empire , known professionally as John Peel, was an England disc jockey, radio presenter and journalist....
    's Home Truths programme on BBC Radio 4 (UK) broadcast the suggestion from a 6-year-old contributor to use 'zig' for the forward slash and 'zag' for the backslash, the two forming a zigzag
    Zigzag

    A zigzag is a pattern made up of small corners at variable angles, though constant within the zigzag, tracing a path between two parallel lines; it can be described as both jagged and fairly regular....
    .


External links

  • by The Linux Information Project (LINFO)