HOME

TheInfoList



OR:

The slash is the oblique slanting line
punctuation mark Punctuation (or sometimes interpunction) is the use of spacing, conventional signs (called punctuation marks), and certain typographical devices as aids to the understanding and correct reading of written text, whether read silently or aloud. An ...
. Also known as a stroke, a solidus or several other historical or technical names including oblique and virgule. Once used to mark periods and
comma The comma is a punctuation mark that appears in several variants in different 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 o ...
s, the slash is now used to represent
division Division or divider may refer to: Mathematics *Division (mathematics), the inverse of multiplication *Division algorithm, a method for computing the result of mathematical division Military *Division (military), a formation typically consisting ...
and
fractions A fraction (from la, fractus, "broken") represents a part of a whole or, more generally, any number of equal parts. When spoken in everyday English, a fraction describes how many parts of a certain size there are, for example, one-half, eight ...
, exclusive 'or' and inclusive 'or', and as a date separator. A slash in the reverse direction is known as a
backslash The backslash is a typographical mark used mainly in computing and mathematics. It is the mirror image of the common slash . It is a relatively recent mark, first documented in the 1930s. History , efforts to identify either the origin ...
.


History

Slashes may be found in early writing as a variant form of
dashes The dash is a punctuation mark consisting of a long horizontal line. It is similar in appearance to the hyphen but is longer and sometimes higher from the baseline. The most common versions are the endash , generally longer than the hyphen b ...
, vertical strokes, etc. The present use of a slash distinguished from such other marks derives from the medieval European
virgule Virgule ('twig') may refer to: * A "''/'' " used to mark line breaks * Secondary chord A secondary chord is an analytical label for a specific harmonic device that is prevalent in the tonal idiom of Western music beginning in the common pr ...
( la, virgula, which was used as a
period Period may refer to: Common uses * Era, a length or span of time * Full stop (or period), a punctuation mark Arts, entertainment, and media * Period (music), a concept in musical composition * Periodic sentence (or rhetorical period), a concept ...
, scratch comma, and
caesura mark The vertical bar, , is a glyph with various uses in mathematics, computing, and typography. It has many names, often related to particular meanings: Sheffer stroke (in logic), pipe, bar, or (literally the word "or"), vbar, and others. Usage ...
. (The first sense was eventually lost to the low dot and the other two developed separately into the
comma The comma is a punctuation mark that appears in several variants in different 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 o ...
and
caesura mark The vertical bar, , is a glyph with various uses in mathematics, computing, and typography. It has many names, often related to particular meanings: Sheffer stroke (in logic), pipe, bar, or (literally the word "or"), vbar, and others. Usage ...
) Its use as a comma became especially widespread in France, where it was also used to mark the continuation of a word onto the next line of a page, a sense later taken on by the
hyphen The hyphen is a punctuation mark used to join words and to separate syllables of a single word. The use of hyphens is called hyphenation. ''Son-in-law'' is an example of a hyphenated word. The hyphen is sometimes confused with dashes ( figure ...
.. The
Fraktur Fraktur () is a calligraphic hand of the Latin alphabet and any of several blackletter typefaces derived from this hand. The blackletter lines are broken up; that is, their forms contain many angles when compared to the curves of the Antiqua ...
script used throughout
Central Europe Central Europe is an area of Europe between Western Europe and Eastern Europe, based on a common historical, social and cultural identity. The Thirty Years' War (1618–1648) between Catholicism and Protestantism significantly shaped the ar ...
in the early modern period used a single slash as a scratch comma and a double slash as a dash. The double slash developed into the double oblique hyphen and double hyphen or before being usually simplified into various single dashes. In the 18th century, the mark was generally known in English as the "
oblique Oblique may refer to: * an alternative name for the character usually called a slash (punctuation) ( / ) * Oblique angle, in geometry * Oblique triangle, in geometry *Oblique lattice, in geometry * Oblique leaf base, a characteristic shape of the ...
". The variant "oblique stroke" was increasingly shortened to "
stroke A stroke is a medical condition in which poor blood flow to the brain causes cell death. There are two main types of stroke: ischemic, due to lack of blood flow, and hemorrhagic, due to bleeding. Both cause parts of the brain to stop funct ...
", which became the common British name for the character, although printers and publishing professionals often instead referred to it as an "oblique". In the 19th and early 20th century, it was also widely known as the " shilling mark" or "
solidus Solidus (Latin for "solid") may refer to: * Solidus (coin) The ''solidus'' (Latin 'solid';  ''solidi'') or nomisma ( grc-gre, νόμισμα, ''nómisma'',  'coin') was a highly pure gold coin issued in the Late Roman Empire and By ...
", from its use as the
currency sign A currency symbol or currency sign is a graphic symbol used to denote a currency unit. Usually it is defined by the monetary authority, like the national central bank for the currency concerned. In formatting, the symbol can use various forma ...
for the
shilling The shilling is a historical coin, and the name of a unit of modern currency, currencies formerly used in the United Kingdom, Australia, New Zealand, other British Commonwealth countries and Ireland, where they were generally equivalent to 1 ...
. The name "slash" is a recent development, not appearing in
Webster's Dictionary ''Webster's Dictionary'' is any of the English language dictionaries edited in the early 19th century by American lexicographer Noah Webster (1758–1843), as well as numerous related or unrelated dictionaries that have adopted the Webster's n ...
until the Third Edition (1961) but has gained wide currency through its use in computing, a context where it is sometimes used in British English in preference to "stroke". Clarifying terms such as "forward slash" have been coined owing to widespread use of
Microsoft Microsoft Corporation is an American multinational technology corporation producing computer software, consumer electronics, personal computers, and related services headquartered at the Microsoft Redmond campus located in Redmond, Washingt ...
's
DOS DOS is shorthand for the MS-DOS and IBM PC DOS family of operating systems. DOS may also refer to: Computing * Data over signalling (DoS), multiplexing data onto a signalling channel * Denial-of-service attack (DoS), an attack on a communicatio ...
and
Windows Windows is a group of several Proprietary software, proprietary graphical user interface, graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, W ...
operating system An operating system (OS) is system software that manages computer hardware, software resources, and provides common daemon (computing), services for computer programs. Time-sharing operating systems scheduler (computing), schedule tasks for ef ...
s, which use the
backslash The backslash is a typographical mark used mainly in computing and mathematics. It is the mirror image of the common slash . It is a relatively recent mark, first documented in the 1930s. History , efforts to identify either the origin ...
extensively.


Usage


Disjunction and conjunction


Connecting alternatives

The slash is commonly used in many languages as a shorter substitute for the
conjunction Conjunction may refer to: * Conjunction (grammar), a part of speech * Logical conjunction, a mathematical operator ** Conjunction introduction, a rule of inference of propositional logic * Conjunction (astronomy), in which two astronomical bodies ...
"or", typically with the sense of
exclusive or Exclusive or or exclusive disjunction is a logical operation that is true if and only if its arguments differ (one is true, the other is false). It is symbolized by the prefix operator J and by the infix operators XOR ( or ), EOR, EXOR, , , ...
(e.g., Y/N permits yes or no but not both). Its use in this sense is somewhat informal,. although it is used in
philology Philology () is the study of language in oral and written historical sources; it is the intersection of textual criticism, literary criticism, history, and linguistics (with especially strong ties to etymology). Philology is also defined as the ...
to note variants (e.g., ''virgula/'') and
etymologies Etymology () The New Oxford Dictionary of English (1998) – p. 633 "Etymology /ˌɛtɪˈmɒlədʒi/ the study of the class in words and the way their meanings have changed throughout time". is the study of the history of the form of words a ...
(e.g., Such slashes may be used to avoid taking a position in naming disputes. One example is the Syriac naming dispute, which prompted the US and Swedish censuses to use the respective official designations " Assyrian/Chaldean/Syriac" and " Assyrier/Syrianer" for the ethnic group. In particular, since the late 20th century, the slash is used to permit more
gender-neutral language Gender-neutral language or gender-inclusive language is language that avoids bias towards a particular sex or gender. In English, this includes use of nouns that are not gender-specific to refer to roles or professions, formation of phrases in a c ...
in place of the traditional
masculine Masculinity (also called manhood or manliness) is a set of attributes, behaviors, and roles associated with men and boys. Masculinity can be theoretically understood as socially constructed, and there is also evidence that some behaviors co ...
or
plural The plural (sometimes abbreviated pl., pl, or ), in many languages, is one of the values of the grammatical category of number. The plural of a noun typically denotes a quantity greater than the default quantity represented by that noun. This d ...
gender neutrals. In the case of
English English usually refers to: * English language * English people English may also refer to: Peoples, culture, and language * ''English'', an adjective for something of, from, or related to England ** English national ide ...
, this is usually restricted to degendered pronouns such as "he/she" or "s/he". Most other
Indo-European languages The Indo-European languages are a language family native to the overwhelming majority of Europe, the Iranian plateau, and the northern Indian subcontinent. Some European languages of this family, English, French, Portuguese, Russian, Du ...
include more far-reaching use of
grammatical gender In linguistics, grammatical gender system is a specific form of noun class system, where nouns are assigned with gender categories that are often not related to their real-world qualities. In languages with grammatical gender, most or all nouns ...
. In these, the separate gendered
desinence In linguistics, a suffix is an affix which is placed after the stem of a word. Common examples are case endings, which indicate the grammatical case of nouns, adjectives, and verb endings, which form the conjugation of verbs. Suffixes can carry g ...
s (grammatical suffices) of the words may be given divided by slashes or set off with
parentheses A bracket is either of two tall fore- or back-facing punctuation marks commonly used to isolate a segment of text or data from its surroundings. Typically deployed in symmetric pairs, an individual bracket may be identified as a 'left' or 'r ...
. For example, in
Spanish Spanish might refer to: * Items from or related to Spain: **Spaniards are a nation and ethnic group indigenous to Spain **Spanish language, spoken in Spain and many Latin American countries **Spanish cuisine Other places * Spanish, Ontario, Can ...
, is a son and a is a daughter; some proponents of gender-neutral language advocate the use of or when writing for a general audience or addressing a listener of unknown gender. Less commonly, the æ
ligature Ligature may refer to: * Ligature (medicine), a piece of suture used to shut off a blood vessel or other anatomical structure ** Ligature (orthodontic), used in dentistry * Ligature (music), an element of musical notation used especially in the me ...
or
at sign The at sign, , is normally read aloud as "at"; it is also commonly called the at symbol, commercial at, or address sign. It is used as an accounting and invoice abbreviation meaning "at a rate of" (e.g. 7 widgets @ £2 per widget = £14), but ...
is used instead: . Similarly, in German and some Scandinavian and Baltic languages, refers to any secretary and to an explicitly female secretary; some advocates of gender neutrality support forms such as for general use. This does not always work smoothly, however: problems arise in the case of words like ("doctor") where the explicitly female form is umlauted and words like ("Chinese person") where the explicitly female form loses the terminal ''-e''.


Connecting non-contrasting items

The slash is also used as a shorter substitute for the conjunction "and" or
inclusive or In logic, disjunction is a logical connective typically notated as \lor and read aloud as "or". For instance, the English language sentence "it is raining or it is snowing" can be represented in logic using the disjunctive formula R \lor S ...
(i.e., A or B or both), typically in situations where it fills the role of a hyphen or
en dash The dash is a punctuation mark consisting of a long horizontal line. It is similar in appearance to the hyphen but is longer and sometimes higher from the baseline. The most common versions are the endash , generally longer than the hyphen b ...
. For example, the "Hemingway/Faulkner generation" might be used to discuss the era of the
Lost Generation The Lost Generation was the social generational cohort in the Western world that was in early adulthood during World War I. "Lost" in this context refers to the "disoriented, wandering, directionless" spirit of many of the war's survivors in th ...
inclusive of the people around and affected by both
Hemingway Ernest Miller Hemingway (July 21, 1899 – July 2, 1961) was an American novelist, short-story writer, and journalist. His economical and understated style—which he termed the iceberg theory—had a strong influence on 20th-century ...
and Faulkner. This use is sometimes proscribed, as by ''
New Hart's Rules ''Hart's Rules for Compositors and Readers at the University Press, Oxford''—today published under the short title ''New Hart's Rules''—is an authoritative reference book and style guide published in England by Oxford University Press (OUP ...
'', the style guide for the
Oxford University Press Oxford University Press (OUP) is the university press of the University of Oxford. It is the largest university press in the world, and its printing history dates back to the 1480s. Having been officially granted the legal right to print books ...
.


Presenting routes

The slash, as a form of inclusive or, is also used to punctuate the stages of a route (e.g.,
Shanghai Shanghai (; , , Standard Mandarin pronunciation: ) is one of the four direct-administered municipalities of the People's Republic of China (PRC). The city is located on the southern estuary of the Yangtze River, with the Huangpu River flowin ...
/
Nanjing Nanjing (; , Mandarin pronunciation: ), alternately romanized as Nanking, is the capital of Jiangsu province of the People's Republic of China. It is a sub-provincial city, a megacity, and the second largest city in the East China region. T ...
/
Wuhan Wuhan (, ; ; ) is the capital of Hubei Province in the People's Republic of China. It is the largest city in Hubei and the most populous city in Central China, with a population of over eleven million, the ninth-most populous Chinese city an ...
/
Chongqing Chongqing ( or ; ; Sichuanese pronunciation: , Standard Mandarin pronunciation: ), alternately romanized as Chungking (), is a municipality in Southwest China. The official abbreviation of the city, "" (), was approved by the State Cou ...
as stops on a tour of the
Yangtze The Yangtze or Yangzi ( or ; ) is the longest river in Asia, the third-longest in the world, and the longest in the world to flow entirely within one country. It rises at Jari Hill in the Tanggula Mountains (Tibetan Plateau) and flows ...
).


Introducing topic shifts

The word "slash" is also developing as a way to introduce topic shifts or follow-up statements. "Slash" can introduce a follow up statement, such as, "I really love that hot dog place on Liberty Street. Slash can we go there tomorrow?" It can also indicate a shift to an unrelated topic, as in "JUST SAW ALEX! Slash I just chubbed on oatmeal raisin cookies at north quad and i miss you." The new usage of "slash" appears most frequently in spoken conversation, though it can also appear in writing.


In speech

Sometimes the word "slash" is used in speech as a
conjunction Conjunction may refer to: * Conjunction (grammar), a part of speech * Logical conjunction, a mathematical operator ** Conjunction introduction, a rule of inference of propositional logic * Conjunction (astronomy), in which two astronomical bodies ...
to represent the written role of the character (as if a written slash were being read aloud from text), e.g. "bee slash mosquito protection" for a beekeeper's net hood, and "There's a little bit of nectar slash honey over here, but really it's not a lot." (said by a beekeeper examining in a beehive), and "''
Gastornis ''Gastornis'' is an extinct genus of large flightless birds that lived during the mid Paleocene to mid Eocene epochs of the Paleogene period. Fossils have been found in Europe, Asia and North America, with the remains from North America origina ...
'' slash '' Diatryma''" for two supposed genera of prehistoric birds which are now thought to be one genus.


Mathematics


Fractions

The fraction slash is used between two numbers to indicate a
fraction A fraction (from la, fractus, "broken") represents a part of a whole or, more generally, any number of equal parts. When spoken in everyday English, a fraction describes how many parts of a certain size there are, for example, one-half, eight ...
or
ratio In mathematics, a ratio shows how many times one number A number is a mathematical object used to count, measure, and label. The original examples are the natural numbers 1, 2, 3, 4, and so forth. Numbers can be represented in lan ...
. Such formatting developed as a way to write the horizontal
fraction bar A fraction (from la, fractus, "broken") represents a part of a whole or, more generally, any number of equal parts. When spoken in everyday English, a fraction describes how many parts of a certain size there are, for example, one-half, eight ...
on a single line of text. It is first attested in England and
Mexico Mexico (Spanish: México), officially the United Mexican States, is a country in the southern portion of North America. It is bordered to the north by the United States; to the south and west by the Pacific Ocean; to the southeast by Guatema ...
in the 18th century.. This notation is known as an online, solidus, or shilling fraction. Nowadays fractions, unlike inline division, are often given using smaller numbers,
superscript A subscript or superscript is a character (such as a number or letter) that is set slightly below or above the normal line of type, respectively. It is usually smaller than the rest of the text. Subscripts appear at or below the baseline, whil ...
, and
subscript A subscript or superscript is a character (such as a number or letter) that is set slightly below or above the normal line of type, respectively. It is usually smaller than the rest of the text. Subscripts appear at or below the baseline, whil ...
(e.g., 2343). This notation is responsible for the current form of the
percent In mathematics, a percentage (from la, per centum, "by a hundred") is a number or ratio expressed as a fraction of 100. It is often denoted using the percent sign, "%", although the abbreviations "pct.", "pct" and sometimes "pc" are also u ...
,
permille Per mille (from Latin , "in each thousand") is an expression that means parts per thousand. Other recognised spellings include per mil, per mill, permil, permill, or permille. The associated sign is written , which looks like a percent si ...
, and
permyriad A basis point (often abbreviated as bp, often pronounced as "bip" or "beep") is one hundredth of 1 percentage point. The related term '' permyriad'' means one hundredth of 1 percent. Changes of interest rates are often stated in basis points. If ...
signs, developed from the horizontal form which represented an early modern corruption of an Italian abbreviation of ''per cento''. Many fonts draw the fraction slash (and the division slash) less vertical than the slash. The separate encoding is also intended to permit automatic formatting of the preceding and succeeding digits by glyph substitution with numerator and denominator glyphs (e.g., display of "1, fraction slash, 2" as "½"), though this is not yet supported in many environments or fonts. Because of this lack of support, some authors still use
Unicode subscripts and superscripts Unicode has subscripted and superscripted versions of a number of characters including a full set of Arabic numerals. These characters allow any polynomial, chemical and certain other equations to be represented in plain text without using any ...
to compose fractions, and many fonts design these characters for this purpose. In addition, all of the multiples less than 1 of 1n for 2 ≤ n ≤ 6 and n = 8 (e.g. 23 and 58), as well as 17, 19, and 110, are in the Unicode
Number Forms Number Forms is a Unicode block containing Unicode compatibility characters that have specific meaning as numbers, but are constructed from other characters. They consist primarily of vulgar fractions and Roman numerals. In addition to the ch ...
or
Latin-1 Supplement The Latin-1 Supplement (also called C1 Controls and Latin-1 Supplement) is the second Unicode block in the Unicode standard. It encodes the upper range of ISO 8859-1: 80 (U+0080) - FF (U+00FF). C1 Controls (0080–009F) are not graphic. Th ...
block as
precomposed character A precomposed character (alternatively composite character or decomposable character) is a Unicode entity that can also be defined as a sequence of one or more other characters. A precomposed character may typically represent a letter with a diacri ...
s. This notation can also be used when the concept of fractions is extended from numbers to arbitrary rings by the method of
localization of a ring In commutative algebra and algebraic geometry, localization is a formal way to introduce the "denominators" to a given ring or module. That is, it introduces a new ring/module out of an existing ring/module ''R'', so that it consists of fractions ...
.


Division

The division slash , equivalent to the
division sign The division sign () is a symbol consisting of a short horizontal line with a dot above and another dot below, used in Anglophone countries to indicate mathematical division. However, this usage, though widespread in some countries, is not u ...
, may be used between two numbers to indicate
division Division or divider may refer to: Mathematics *Division (mathematics), the inverse of multiplication *Division algorithm, a method for computing the result of mathematical division Military *Division (military), a formation typically consisting ...
. For example, can also be written as . This use developed from the
fraction slash The slash is the oblique slanting line punctuation mark . Also known as a stroke, a solidus or several other historical or technical names including oblique and virgule. Once used to mark periods and commas, the slash is now used to represen ...
in the late 18th or early 19th century. The formatting was advocated by
De Morgan De Morgan or de Morgan is a surname, and may refer to: * Augustus De Morgan (1806–1871), British mathematician and logician. ** De Morgan's laws In propositional logic and Boolean algebra, De Morgan's laws, also known as De Morgan's theor ...
in the mid-19th century.


Quotient of set

A ''quotient of a set'' is informally a new set obtained by identifying some elements of the original set. This is denoted as a fraction S / R (sometimes even as a built fraction), where the numerator S is the original set (often equipped with some algebraic structure). What is appropriate as denominator depends on the context. In the most general case, the denominator is an
equivalence relation In mathematics, an equivalence relation is a binary relation that is reflexive, symmetric and transitive. The equipollence relation between line segments in geometry is a common example of an equivalence relation. Each equivalence relatio ...
\sim on the original set S, and elements are to be identified in the quotient S/ if they are equivalent according to \sim; this is technically achieved by making S/ the set of all
equivalence class In mathematics, when the elements of some set S have a notion of equivalence (formalized as an equivalence relation), then one may naturally split the set S into equivalence classes. These equivalence classes are constructed so that elements ...
es of \sim. In
group theory In abstract algebra, group theory studies the algebraic structures known as groups. The concept of a group is central to abstract algebra: other well-known algebraic structures, such as rings, fields, and vector spaces, can all be seen as ...
, the slash is used to mark
quotient group A quotient group or factor group is a mathematical group obtained by aggregating similar elements of a larger group using an equivalence relation that preserves some of the group structure (the rest of the structure is "factored" out). For exampl ...
s. The general form is G/N , where G is the original group and N is the normal subgroup; this is read "G mod N", where "mod" is short for " modulo". Formally this is a special case of quotient by an equivalence relation, where g \sim h iff g = hn for some n \in N. Since many algebraic structures (
ring Ring may refer to: * Ring (jewellery), a round band, usually made of metal, worn as ornamental jewelry * To make a sound with a bell, and the sound made by a bell :(hence) to initiate a telephone connection Arts, entertainment and media Film and ...
s,
vector space In mathematics and physics, a vector space (also called a linear space) is a set whose elements, often called ''vectors'', may be added together and multiplied ("scaled") by numbers called ''scalars''. Scalars are often real numbers, but ca ...
s, etc.) in particular are groups, the same style of quotients extend also to these, although the denominator may need to satisfy additional closure properties for the quotient to preserve the full algebraic structure of the original (e.g. for the quotient of a ring to be a ring, the denominator must be an ideal). When the original set is the set of
integer An integer is the number zero (), a positive natural number (, , , etc.) or a negative integer with a minus sign (−1, −2, −3, etc.). The negative numbers are the additive inverses of the corresponding positive numbers. In the language o ...
s \mathbb, the denominator may alternatively be just an integer: \mathbb/n. This is an alternative notation for the set \mathbb_n of integers modulo ''n'' (needed because \mathbb_n is also notation for the very different ring of ''n''-adic integers). \mathbb/n is an abbreviation of \mathbb/n\mathbb or \mathbb/(n), which both are ways of writing the set in question as a quotient of groups.


Combining slash

Slashes may also be used as a
combining character In digital typography, combining characters are characters that are intended to modify other characters. The most common combining characters in the Latin script are the combining diacritical marks (including combining accents). Unicode also ...
in mathematical formulae. The most important use of this is that combining a slash with a relation negates it, producing e.g. 'not equal' \neq as negation of = or 'not in' \notin as negation of \in; these slashed relation symbols are always implicitly defined in terms of the non-slashed base symbol. The graphical form of the negation slash is mostly the same as for a division slash, except in some cases where that would look odd; the negation \nmid of \mid (divides) and negation \nsim of \sim (various meanings) customarily both have their negations slashes less steep and in particular shorter than the usual one. The Feynman slash notation is an unrelated use of combining slashes, mostly seen in
quantum field theory In theoretical physics, quantum field theory (QFT) is a theoretical framework that combines classical field theory, special relativity, and quantum mechanics. QFT is used in particle physics to construct physical models of subatomic particles and ...
. This kind of combining slash takes a vector base symbol and converts it to a matrix quantity. Technically this notation is a shorthand for contracting the vector with the Dirac gamma matrices, so A\!\!\!/ = \gamma^\mu A_\mu ; what one gains is not only a more compact formula, but also not having to allocate a letter as the contracted index.


Computing

The slash, sometimes distinguished as "forward slash", is used in computing in a number of ways, primarily as a separator among levels in a given hierarchy, for example in the path of a filesystem.


File paths

The slash is used as the
path A path is a route for physical travel – see Trail. Path or PATH may also refer to: Physical paths of different types * Bicycle path * Bridle path, used by people on horseback * Course (navigation), the intended path of a vehicle * Desire p ...
component separator in many computer operating systems (e.g., Unix's ). In
Unix Unix (; trademarked as UNIX) is a family of multitasking, multiuser computer operating systems that derive from the original AT&T Unix, whose development started in 1969 at the Bell Labs research center by Ken Thompson, Dennis Ritchie, and ot ...
and Unix-like systems, such as
macOS macOS (; previously OS X and originally Mac OS X) is a Unix operating system developed and marketed by Apple Inc. since 2001. It is the primary operating system for Apple's Mac computers. Within the market of desktop and lap ...
and
Linux Linux ( or ) is a family of open-source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically packaged as a Linux distribution, which in ...
, the slash is also used for the
volume Volume is a measure of occupied three-dimensional space. It is often quantified numerically using SI derived units (such as the cubic metre and litre) or by various imperial or US customary units (such as the gallon, quart, cubic inch). The def ...
root directory In a computer file system, and primarily used in the Unix and Unix-like operating systems, the root directory is the first or top-most directory in a hierarchy. It can be likened to the trunk of a tree, as the starting point where all branches ...
(e.g., the initial slash in ). Confusion of the slash with the backslash largely arises from the use of the latter as the path component separator in the widely used MS-DOS and
Microsoft Windows Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for se ...
systems.


Networking

The slash is used in a similar fashion in
internet The Internet (or internet) is the global system of interconnected computer networks that uses the Internet protocol suite (TCP/IP) to communicate between networks and devices. It is a '' network of networks'' that consists of private, pub ...
URLs A Uniform Resource Locator (URL), colloquially termed as a web address, is a reference to a web resource that specifies its location on a computer network and a mechanism for retrieving it. A URL is a specific type of Uniform Resource Identifie ...
(e.g., ). Often this portion of such URLs corresponds with files on a Unix
server Server may refer to: Computing * Server (computing), a computer program or a device that provides functionality for other programs or devices, called clients Role * Waiting staff, those who work at a restaurant or a bar attending customers and s ...
with the same name, and this is where this convention for internet URLs comes from. The slash in an
IP address An Internet Protocol address (IP address) is a numerical label such as that is connected to a computer network that uses the Internet Protocol for communication.. Updated by . An IP address serves two main functions: network interface ident ...
(e.g., ) indicates the prefix size in CIDR notation. The number of addresses of a
subnet A subnetwork or subnet is a logical subdivision of an IP network. Updated by RFC 6918. The practice of dividing a network into two or more networks is called subnetting. Computers that belong to the same subnet are addressed with an identical ...
may be calculated as 2address size − prefix size, in which the address size is 128 for
IPv6 Internet Protocol version 6 (IPv6) is the most recent version of the Internet Protocol (IP), the communications protocol that provides an identification and location system for computers on networks and routes traffic across the Internet. IPv ...
and 32 for
IPv4 Internet Protocol version 4 (IPv4) is the fourth version of the Internet Protocol (IP). It is one of the core protocols of standards-based internetworking methods in the Internet and other packet-switched networks. IPv4 was the first version de ...
. For example, in IPv4, the prefix size /29 gives: 232–29 = 23 = 8 addresses.


Programming

The slash is used as a division operator in most
programming language A programming language is a system of notation for writing computer programs. Most programming languages are text-based formal languages, but they may also be graphical. They are a kind of computer language. The description of a programming ...
s while APL uses it for reduction ( fold) and compression (
filter Filter, filtering or filters may refer to: Science and technology Computing * Filter (higher-order function), in functional programming * Filter (software), a computer program to process a data stream * Filter (video), a software component that ...
). The double slash is used by
Rexx Rexx (Restructured Extended Executor) is a programming language that can be interpreted or compiled. It was developed at IBM by Mike Cowlishaw. It is a structured, high-level programming language designed for ease of learning and reading. ...
as a modulo operator, and
Python Python may refer to: Snakes * Pythonidae, a family of nonvenomous snakes found in Africa, Asia, and Australia ** ''Python'' (genus), a genus of Pythonidae found in Africa and Asia * Python (mythology), a mythical serpent Computing * Python (pr ...
(starting in version 2.2) uses a double slash for division which rounds (using
floor A floor is the bottom surface of a room or vehicle. Floors vary from simple dirt in a cave to many layered surfaces made with modern technology. Floors may be stone, wood, bamboo, metal or any other material that can support the expected load ...
) to an integer. In Raku the double slash is used as a "defined-or" alternative to , , . A dot and slash is used in
MATLAB MATLAB (an abbreviation of "MATrix LABoratory") is a proprietary multi-paradigm programming language and numeric computing environment developed by MathWorks. MATLAB allows matrix manipulations, plotting of functions and data, implementatio ...
and
GNU Octave GNU Octave is a high-level programming language primarily intended for scientific computing and numerical computation. Octave helps in solving linear and nonlinear problems numerically, and for performing other numerical experiments using a langu ...
to indicate an element-by-element division of matrices. Comments that begin with (a slash and an asterisk) and end with were introduced in
PL/I PL/I (Programming Language One, pronounced and sometimes written PL/1) is a procedural, imperative computer programming language developed and published by IBM. It is designed for scientific, engineering, business and system programming. I ...
and subsequently adopted by SAS, C, Rexx,
C++ C, or c, is the third letter in the Latin alphabet, used in the modern English alphabet, the alphabets of other western European languages and others worldwide. Its name in English is ''cee'' (pronounced ), plural ''cees''. History "C" ...
,
Java Java (; id, Jawa, ; jv, ꦗꦮ; su, ) is one of the Greater Sunda Islands in Indonesia. It is bordered by the Indian Ocean to the south and the Java Sea to the north. With a population of 151.6 million people, Java is the world's most ...
,
JavaScript JavaScript (), often abbreviated as JS, is a programming language that is one of the core technologies of the World Wide Web, alongside HTML and CSS. As of 2022, 98% of websites use JavaScript on the client side for webpage behavior, often ...
,
PHP PHP is a general-purpose scripting language geared toward web development. It was originally created by Danish-Canadian programmer Rasmus Lerdorf in 1993 and released in 1995. The PHP reference implementation is now produced by The PHP Group. ...
, CSS, and C#. A double slash is also used by
C99 C99 (previously known as C9X) is an informal name for ISO/IEC 9899:1999, a past version of the C programming language standard. It extends the previous version ( C90) with new features for the language and the standard library, and helps impl ...
, C++, C#, PHP, Java,
Swift Swift or SWIFT most commonly refers to: * SWIFT, an international organization facilitating transactions between banks ** SWIFT code * Swift (programming language) * Swift (bird), a family of birds It may also refer to: Organizations * SWIFT, ...
, and JavaScript to start a single line comment. In
SGML The Standard Generalized Markup Language (SGML; ISO 8879:1986) is a standard for defining generalized markup languages for documents. ISO 8879 Annex A.1 states that generalized markup is "based on two postulates": * Declarative: Markup should de ...
and derived languages such as
HTML The HyperText Markup Language or HTML is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScript ...
and XML, a slash is used in closing tags. For example, in HTML, begins a section of bold text and closes it. In XHTML, slashes are also necessary for "self-closing" elements such as the
newline Newline (frequently called line ending, end of line (EOL), next line (NEL) or line break) is a control character or sequence of control characters in character encoding specifications such as ASCII, EBCDIC, Unicode, etc. This character, or a ...
command where HTML has simply . In a style originating in the
Digital Equipment Corporation Digital Equipment Corporation (DEC ), using the trademark Digital, was a major American company in the computer industry from the 1960s to the 1990s. The company was co-founded by Ken Olsen and Harlan Anderson in 1957. Olsen was president until ...
line of operating systems (
OS/8 OS/8 is the primary operating system used on the Digital Equipment Corporation's PDP-8 minicomputer. PDP-8 operating systems which precede OS/8 include: * R-L Monitor, also referred to as MS/8. * P?S/8, requiring only 4K of memory. * PDP-8 4K ...
,
RT-11 RT-11 (Real-time 11) is a discontinued small, low-end, single-user real-time operating system for the full line of Digital Equipment Corporation PDP-11 16-bit computers. RT-11 was first implemented in 1970. It was widely used for real-time computi ...
,
TOPS-10 TOPS-10 System (''Timesharing / Total Operating System-10'') is a discontinued operating system from Digital Equipment Corporation (DEC) for the PDP-10 (or DECsystem-10) mainframe computer family. Launched in 1967, TOPS-10 evolved from the earlie ...
, et cetera),
Windows Windows is a group of several Proprietary software, proprietary graphical user interface, graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, W ...
,
DOS DOS is shorthand for the MS-DOS and IBM PC DOS family of operating systems. DOS may also refer to: Computing * Data over signalling (DoS), multiplexing data onto a signalling channel * Denial-of-service attack (DoS), an attack on a communicatio ...
, some
CP/M CP/M, originally standing for Control Program/Monitor and later Control Program for Microcomputers, is a mass-market operating system created in 1974 for Intel 8080/ 85-based microcomputers by Gary Kildall of Digital Research, Inc. Initially ...
programs,
OpenVMS OpenVMS, often referred to as just VMS, is a multi-user, multiprocessing and virtual memory-based operating system. It is designed to support time-sharing, batch processing, transaction processing and workstation applications. Customers using Op ...
, and
OS/2 OS/2 (Operating System/2) is a series of computer operating systems, initially created by Microsoft and IBM under the leadership of IBM software designer Ed Iacobucci. As a result of a feud between the two companies over how to position OS/2 re ...
all use the slash to indicate
command-line option A command-line interpreter or command-line processor uses a command-line interface (CLI) to receive command (computing), commands from a user in the form of lines of text. This provides a means of setting parameters for the environment, invokin ...
s. For example, the command is understood as using the command dir ("directory") with the "wide" option. Notice that no space is required between the command and the switch; this was the reason for the choice to use backslashes as the path separator since one would otherwise be unable to run a program in a different directory. Slashes are used as the standard delimiters for
regular expression A regular expression (shortened as regex or regexp; sometimes referred to as rational expression) is a sequence of characters that specifies a search pattern in text. Usually such patterns are used by string-searching algorithms for "find" or ...
s, although other characters can be used instead. IBM JCL uses a double slash to start each line in a batch job stream except for /* and /&.


Programs

IRC Internet Relay Chat (IRC) is a text-based chat system for instant messaging. IRC is designed for group communication in discussion forums, called '' channels'', but also allows one-on-one communication via private messages as well as chat a ...
and many in-game chat clients use the slash to mark commands, such as joining and leaving a chat room or sending private messages. For example, in IRC, is a command to join the channel "services" and is a command to format the following message as though it were an action instead of a spoken message. In ''
Minecraft ''Minecraft'' is a sandbox game developed by Mojang Studios. The game was created by Markus "Notch" Persson in the Java (programming language), Java programming language. Following several early private testing versions, it was first made pub ...
''s chat function, the slash is used for executing console and plugin commands. In ''
Second Life ''Second Life'' is an online multimedia platform that allows people to create an avatar for themselves and then interact with other users and user created content within a multi player online virtual world. Developed and owned by the San Fra ...
''s chat function, the slash is used to select the "communications channel", allowing users to direct commands to virtual objects "listening" on different channels. For example, if a virtual house's lights were set to use channel 42, the command "/42 on" would turn them on. In ''
Discord Discord is a VoIP and instant messaging social platform. Users have the ability to communicate with voice calls, video calls, text messaging, media and files in private chats or as part of communities called "servers".The developer documenta ...
'', Slash commands are used to send special messages and execute commands, like sending a shrug (¯\_(ツ)_/¯) or a table flip ((╯°□°)╯︵ ┻━┻), or changing your nickname using "/nick". Now, slash commands can also be used to use Discord bots. The
Gedcom GEDCOM ( ), complete name FamilySearch GEDCOM, is a ''de facto'' open file format specification to store genealogical data, and import or export it between compatible genealogy software. GEDCOM is an acronym standing for ''Genealogical Data Comm ...
standard for exchanging computerized genealogical data uses slashes to delimit surnames. Example: Bill /Smith/ Jr. Slashes around surnames are also used in Personal Ancestral File.


Currency

The slash (as the "shilling mark" or "solidus") was an abbreviation for the
shilling The shilling is a historical coin, and the name of a unit of modern currency, currencies formerly used in the United Kingdom, Australia, New Zealand, other British Commonwealth countries and Ireland, where they were generally equivalent to 1 ...
, a former
coin A coin is a small, flat (usually depending on the country or value), round piece of metal or plastic used primarily as a medium of exchange or legal tender. They are standardized in weight, and produced in large quantities at a mint in order to ...
of the United Kingdom and its former colonies. Before the decimalisation of currency in Britain, its currency abbreviations (collectively
£sd £sd (occasionally written Lsd, spoken as "pounds, shillings and pence" or pronounced ) is the popular name for the pre-decimal currencies once common throughout Europe, especially in the British Isles and hence in several countries of the B ...
) represented their
Latin Latin (, or , ) is a classical language belonging to the Italic branch of the Indo-European languages. Latin was originally a dialect spoken in the lower Tiber area (then known as Latium) around present-day Rome, but through the power of the ...
names, derived from a medieval French modification of the late
Roman Roman or Romans most often refers to: *Rome, the capital city of Italy *Ancient Rome, Roman civilization from 8th century BC to 5th century AD *Roman people, the people of ancient Rome *''Epistle to the Romans'', shortened to ''Romans'', a letter ...
libra Libra generally refers to: * Libra (constellation), a constellation * Libra (astrology), an astrological sign based on the star constellation Libra may also refer to: Arts and entertainment * ''Libra'' (novel), a 1988 novel by Don DeLillo Musi ...
,
solidus Solidus (Latin for "solid") may refer to: * Solidus (coin) The ''solidus'' (Latin 'solid';  ''solidi'') or nomisma ( grc-gre, νόμισμα, ''nómisma'',  'coin') was a highly pure gold coin issued in the Late Roman Empire and By ...
, and
denarius The denarius (, dēnāriī ) was the standard Roman silver coin from its introduction in the Second Punic War to the reign of Gordian III (AD 238–244), when it was gradually replaced by the antoninianus. It continued to be minted in very sm ...
.. See also
Carolingian monetary system The Carolingian monetary system, also called the Carolingian coinage systempenny A penny is a coin ( pennies) or a unit of currency (pl. pence) in various countries. Borrowed from the Carolingian denarius (hence its former abbreviation d.), it is usually the smallest denomination within a currency system. Presently, it is ...
less than two pounds was written During the period when
English orthography English orthography is the writing system used to represent spoken English, allowing readers to connect the graphemes to sound and to meaning. It includes English's norms of spelling, hyphenation, capitalisation, word breaks, emphasis, and ...
included the
long s The long s , also known as the medial s or initial s, is an archaic form of the lowercase letter . It replaced the single ''s'', or one or both of the letters ''s'' in a 'double ''s sequence (e.g., "ſinfulneſs" for "sinfulness" and "po� ...
, , the ſ came to be written as a single slash... The s. and the d. might therefore be omitted, and "2/6" meant "two shillings and sixpence". Amounts in full pounds, shillings and pence could be written in many different ways, for example: £1 9s 6d, £1.9.6, £1-9-6, and even £1/9/6d (with a slash used ''also'' to separate pounds and shillings). The same style was also used under the
British Raj The British Raj (; from Hindi ''rāj'': kingdom, realm, state, or empire) was the rule of the British Crown on the Indian subcontinent; * * it is also called Crown rule in India, * * * * or Direct rule in India, * Quote: "Mill, who was himsel ...
and early independent India for the predecimalization
rupee Rupee is the common name for the currencies of India, Mauritius, Nepal, Pakistan, Seychelles, and Sri Lanka, and of former currencies of Afghanistan, Bahrain, Kuwait, Oman, the United Arab Emirates (as the Gulf rupee), British East Africa, ...
/ anna/
pie A pie is a baked dish which is usually made of a pastry dough casing that contains a filling of various sweet or savoury ingredients. Sweet pies may be filled with fruit (as in an apple pie), nuts (pecan pie), brown sugar ( sugar pie), sweete ...
system.. In five East African countries (
Kenya ) , national_anthem = " Ee Mungu Nguvu Yetu"() , image_map = , map_caption = , image_map2 = , capital = Nairobi , coordinates = , largest_city = Nairobi ...
,
Tanzania Tanzania (; ), officially the United Republic of Tanzania ( sw, Jamhuri ya Muungano wa Tanzania), is a country in East Africa within the African Great Lakes region. It borders Uganda to the north; Kenya to the northeast; Comoro Islands and ...
,
Uganda }), is a landlocked country in East Africa. The country is bordered to the east by Kenya, to the north by South Sudan, to the west by the Democratic Republic of the Congo, to the south-west by Rwanda, and to the south by Tanzania. The souther ...
,
Somalia Somalia, , Osmanya script: 𐒈𐒝𐒑𐒛𐒐𐒘𐒕𐒖; ar, الصومال, aṣ-Ṣūmāl officially the Federal Republic of SomaliaThe ''Federal Republic of Somalia'' is the country's name per Article 1 of thProvisional Constituti ...
, and the ''de facto'' country of
Somaliland Somaliland,; ar, صوماليلاند ', ' officially the Republic of Somaliland,, ar, جمهورية صوماليلاند, link=no ''Jumhūrīyat Ṣūmālīlānd'' is a ''de facto'' sovereign state in the Horn of Africa, still conside ...
), where the national currencies are denominated in shillings, the
decimal separator A decimal separator is a symbol used to separate the integer part from the fractional part of a number written in decimal form (e.g., "." in 12.45). Different countries officially designate different symbols for use as the separator. The cho ...
is a slash mark (e.g., ). Where the minor unit is zero, an
equals sign The equals sign (British English, Unicode) or equal sign (American English), also known as the equality sign, is the mathematical symbol , which is used to indicate equality in some well-defined sense. In an equation, it is placed between two ...
is used (e.g., 5/=).


Dates

Slashes are a common
calendar date A calendar date is a reference to a particular day represented within a calendar system. The calendar date allows the specific day to be identified. The number of days between two dates may be calculated. For example, "25 " is ten days after "1 ...
separator used across many countries and by some standards such as the
Common Log Format For computer log management, the Common Log Format, also known as the NCSA Common log format, (after NCSA HTTPd) is a standardized text file format used by web servers when generating server log files. Because the format is standardized, the fi ...
used by web servers. Depending on context, it may be in the form Day/Month/Year, Month/Day/Year, or Year/Month/Day. If only two elements are present, they typically denote a day and month in some order. For example,
9/11 The September 11 attacks, commonly known as 9/11, were four coordinated suicide terrorist attacks carried out by al-Qaeda against the United States on Tuesday, September 11, 2001. That morning, nineteen terrorists hijacked four commer ...
is a common American way of writing the date 11 September; Britons write this as 11/9. Owing to the ambiguity across cultures, the practice of using only two elements to denote a date is sometimes proscribed.. Because of the world's many varying conventional date and time formats,
ISO 8601 ISO 8601 is an international standard covering the worldwide exchange and communication of date and time-related data. It is maintained by the Geneva-based International Organization for Standardization (ISO) and was first published in 1988, wi ...
advocates the use of a Year-Month-Day system separated by hyphens (e.g.,
Victory in Europe Day Victory in Europe Day is the day celebrating the formal acceptance by the Allies of World War II of Germany's unconditional surrender of its armed forces on Tuesday, 8 May 1945, marking the official end of World War II in Europe in the Easter ...
occurred on 1945-05-08). In the ISO 8601 system, slashes represent date ranges: "1939/1945" represents what is more commonly written as The autumn term of a northern-hemisphere school year might be marked "2010-09-01/12-22". In English, a range marked by a slash often has a separate meaning from one marked by a dash or hyphen. "24/25 December" would mark the time shared by both days (i.e., the night from
Christmas Eve Christmas Eve is the evening or entire day before Christmas Day, the festival commemorating the birth of Jesus. Christmas Day is observed around the world, and Christmas Eve is widely observed as a full or partial holiday in anticipatio ...
to Christmas morning) rather than the time made up by both days together, which would be written "24–25 December". Similarly, a historical reference to "1066/67" might imply an event occurred during the winter of late 1066 and early 1067,. whereas a reference to 1066–67 would cover the entirety of both years. The usage was particularly common in British English during World War II, where such slash dates were used for
night-bombing A night bomber is a bomber aircraft intended specifically for carrying out bombing missions at night. The term is now mostly of historical significance. Night bombing began in World War I and was widespread during World War II. A number of mod ...
air raids. It is also used by some police forces in the United States.


Numbering

The slash is used in numbering to note totals. For example, "page 17/35" indicates that the relevant passage is on the 17th page of a 35-page document. Similarly, the marking "#333/500" on a product indicates it is the 333rd out of 500 identical products or out of a batch of 500 such products. For scores on schoolwork, in games, &c., "85/100" indicates 85 points were attained out of a possible 100. Slashes are also sometimes used to mark ranges in numbers that already include hyphens or dashes. One example is the ISO treatment of dating. Another is the
US Air Force The United States Air Force (USAF) is the air service branch of the United States Armed Forces, and is one of the eight uniformed services of the United States. Originally created on 1 August 1907, as a part of the United States Army Signal ...
's treatment of aircraft serial numbers, which are normally written to note the fiscal year and aircraft number. For example, "85-1000" notes the thousandth aircraft ordered in fiscal year 1985. To indicate the next fifty subsequent aircraft, a slash is used in place of a hyphen or dash: "85-1001/1050".


Linguistic transcription

A pair of slashes (as " slants") are used in the
transcription Transcription refers to the process of converting sounds (voice, music etc.) into letters or musical notes, or producing a copy of something in another medium, including: Genetics * Transcription (biology), the copying of DNA into RNA, the fir ...
of
speech Speech is a human vocal communication using language. Each language uses phonetic combinations of vowel and consonant sounds that form the sound of its words (that is, all English words sound different from all French words, even if they are ...
to enclose
pronunciation Pronunciation is the way in which a word or a language is spoken. This may refer to generally agreed-upon sequences of sounds used in speaking a given word or language in a specific dialect ("correct pronunciation") or simply the way a particular ...
s (i.e.,
phonetic transcription Phonetic transcription (also known as phonetic script or phonetic notation) is the visual representation of speech sounds (or '' phones'') by means of symbols. The most common type of phonetic transcription uses a phonetic alphabet, such as the ...
s). For example, the IPA transcription of the English pronunciation of "solidus" is written . Properly, slashes mark broad or phonemic transcriptions, whereas narrow,
allophonic In phonology, an allophone (; from the Greek , , 'other' and , , 'voice, sound') is a set of multiple possible spoken soundsor '' phones''or signs used to pronounce a single phoneme in a particular language. For example, in English, (as in '' ...
transcriptions are enclosed by
square bracket A bracket is either of two tall fore- or back-facing punctuation marks commonly used to isolate a segment of text or data from its surroundings. Typically deployed in symmetric pairs, an individual bracket may be identified as a 'left' or 'r ...
s. For example, the word "little" may be broadly rendered as but a careful transcription of the velarization of the second L would be written . In
sociolinguistics Sociolinguistics is the descriptive study of the effect of any or all aspects of society, including cultural norms, expectations, and context, on the way language is used, and society's effect on language. It can overlap with the sociology of l ...
, a double or triple slash may also be used in the transcription of a traditional sociolinguistic interview or in other type of linguistic elicitation to represent simultaneous speech, interruptions, and certain types of speech disfluencies. Single and double slashes are often used as typographic substitutes for the
click letter Various letters have been used to write the click consonants of southern Africa. The precursors of the current IPA letters, , were created by Karl Richard Lepsius and used by Wilhelm Bleek and Lucy Lloyd, who added . Also influential were Dan ...
s ǀ, ǁ.


Poetry

The slash is used in various
scansion Scansion ( , rhymes with ''mansion''; verb: ''to scan''), or a system of scansion, is the method or practice of determining and (usually) graphically representing the metrical pattern of a line of verse. In classical poetry, these patterns are q ...
notations for representing the metrical pattern of a line of verse, typically to indicate a stressed syllable.


Line breaks

The slash (as a "virgule") offset by spaces to either side is used to mark line breaks when transcribing text from a multi-line format into a single-line one.. It is particularly common in quoting
poetry Poetry (derived from the Greek '' poiesis'', "making"), also called verse, is a form of literature that uses aesthetic and often rhythmic qualities of language − such as phonaesthetics, sound symbolism, and metre − to evoke meanings ...
,
song lyrics Lyrics are words that make up a song, usually consisting of verses and choruses. The writer of lyrics is a lyricist. The words to an extended musical composition such as an opera are, however, usually known as a "libretto" and their writer, a ...
, and
drama Drama is the specific mode of fiction represented in performance: a play, opera, mime, ballet, etc., performed in a theatre, or on radio or television.Elam (1980, 98). Considered as a genre of poetry in general, the dramatic mode has been ...
tic scripts, formats where omitting the line breaks risks losing meaningful context. For example, when quoting
Hamlet ''The Tragedy of Hamlet, Prince of Denmark'', often shortened to ''Hamlet'' (), is a Shakespearean tragedy, tragedy written by William Shakespeare sometime between 1599 and 1601. It is Shakespeare's longest play, with 29,551 words. Set in Den ...
's
soliloquy A soliloquy (, from Latin ''solo'' "to oneself" + ''loquor'' "I talk", plural ''soliloquies'') is a monologue addressed to oneself, thoughts spoken out loud without addressing another. Soliloquies are used as a device in drama to let a character ...
To be, or not to be "To be, or not to be" is the opening phrase of a soliloquy given by Prince Hamlet in the so-called "nunnery scene" of William Shakespeare's play ''Hamlet'', Act 3, Scene 1. In the speech, Hamlet contemplates death and suicide, weighing the pai ...
, that is the question: Whether 'tis Nobler in the mind to suffer The Slings and Arrows of outrageous Fortune, Or to take Arms against a Sea of troubles, And by opposing end them...
into a prose paragraph, it is standard to mark the line breaks as "To be, or not to be, that is the Whether 'tis nobler in the mind to The slings and arrows of outrageous Or to take arms against a sea of And by opposing end them..." Less often, virgules are used in marking
paragraph A paragraph () is a self-contained unit of discourse in writing dealing with a particular point or idea. Though not required by the orthographic conventions of any language with a writing system, paragraphs are a conventional means of organizing e ...
breaks when quoting a prose passage. Some style guides, such as '' Hart's'', prefer to use a pipe in place of the slash to mark these line and paragraph breaks. The virgule may be thinner than a standard slash when typeset. In computing contexts, it may be necessary to use a
non-breaking space In word processing and digital typesetting, a non-breaking space, , also called NBSP, required space, hard space, or fixed space (though it is not of fixed width), is a space character that prevents an automatic line break at its position. In ...
before the virgule to prevent it from being
widowed A widow (female) or widower (male) is a person whose spouse has died. Terminology The state of having lost one's spouse to death is termed ''widowhood''. An archaic term for a widow is "relict," literally "someone left over". This word can s ...
on the next line.


Abbreviation

The slash has become standard in several abbreviations. Generally, it is used to mark two-letter
initialism An acronym is a word or name formed from the initial components of a longer name or phrase. Acronyms are usually formed from the initial letters of words, as in ''NATO'' (''North Atlantic Treaty Organization''), but sometimes use syllables, as ...
s such as A/C (short for "air conditioner"), w/o ("without"), b/w ("black and white" or, less often, "between"), w/e ("whatever" or, less often, "weekend" or "week ending"), i/o ("
input/output In computing, input/output (I/O, or informally io or IO) is the communication between an information processing system, such as a computer, and the outside world, possibly a human or another information processing system. Inputs are the signals ...
"), r/w ("read/write"), and n/a ("not applicable"). Other initialisms employing the slash include w/ ("with") and w/r/t ("with regard to"). Such slashed abbreviations are somewhat more common in British English and were more common around the
Second World War World War II or the Second World War, often abbreviated as WWII or WW2, was a world war that lasted from 1939 to 1945. It involved the vast majority of the world's countries—including all of the great powers—forming two opposing ...
(as with "S/E" to mean "single-engined"). The abbreviation 24/7 (denoting 24 hours a day, 7 days a week) describes a business that is always open or unceasing activity.. The slash in
derived unit SI derived units are units of measurement derived from the seven base units specified by the International System of Units (SI). They can be expressed as a product (or ratio) of one or more of the base units, possibly scaled by an appropriate po ...
s such as m/s (meters per second) is not an abbreviation slash, but a straight division. It is however in that position read as 'per' rather than e.g. 'over', which can be seen as analogous to units whose symbols are pure abbreviations such as mph (miles per hour), although in abbreviations 'per' is 'p' or dropped entirely (psi, pounds per square inch) rather than a slash. In the
US government The federal government of the United States (U.S. federal government or U.S. government) is the national government of the United States, a federal republic located primarily in North America, composed of 50 states, a city within a feder ...
, the names of offices within various departments are abbreviated using slashes, starting with the larger office and following with its subdivisions. For example, the
Federal Aviation Administration The Federal Aviation Administration (FAA) is the largest transportation agency of the U.S. government and regulates all aspects of civil aviation in the country as well as over surrounding international waters. Its powers include air traffic m ...
's
Office of Commercial Space Transportation The Office of Commercial Space Transportation (generally referred to as FAA/AST or simply AST) is the branch of the United States Federal Aviation Administration (FAA) that approves any commercial rocket launch operations — that is, any laun ...
is formally abbreviated FAA/AST.


Proofreading

The slash or vertical bar (as a " separatrix") is used in
proofreading Proofreading is the reading of a galley proof or an electronic copy of a publication to find and correct reproduction errors of text or art. Proofreading is the final step in the editorial cycle before publication. Professional Traditional m ...
to mark the end of margin notes or to separate margin notes from one another. The slash is also sometimes used in various proofreading
initialisms An acronym is a word or name formed from the initial components of a longer name or phrase. Acronyms are usually formed from the initial letters of words, as in ''NATO'' (''North Atlantic Treaty Organization''), but sometimes use syllables, as ...
, such as l/c and u/c for changes to
lower Lower may refer to: *Lower (surname) *Lower Township, New Jersey *Lower Receiver (firearms) *Lower Wick Lower Wick is a small hamlet located in the county of Gloucestershire, England. It is situated about five miles south west of Dursley, eigh ...
and
upper case Letter case is the distinction between the Letter (alphabet), letters that are in larger uppercase or capitals (or more formally ''majuscule'') and smaller lowercase (or more formally ''minuscule'') in the written representation of certain lang ...
, respectively.


Fiction

The slash is used in
fan fiction Fan fiction or fanfiction (also abbreviated to fan fic, fanfic, fic or FF) is fictional writing written in an amateur capacity by fans, unauthorized by, but based on an existing work of fiction. The author uses copyrighted characters, sett ...
to mark the romantic pairing a piece will focus upon (e.g., a K/S denoted a ''
Star Trek ''Star Trek'' is an American science fiction media franchise created by Gene Roddenberry, which began with the eponymous 1960s television series and quickly became a worldwide pop-culture phenomenon. The franchise has expanded into vario ...
'' story would focus on a sexual relationship between
Kirk Kirk is a Scottish and former Northern English word meaning "church". It is often used specifically of the Church of Scotland. Many place names and personal names are also derived from it. Basic meaning and etymology As a common noun, ''kirk'' ...
and
Spock Spock is a fictional character in the ''Star Trek'' media franchise. He first appeared in the original ''Star Trek'' series serving aboard the starship USS ''Enterprise'' as science officer and first officer (and Kirk's Second-in-command) and ...
), a usage which developed in the 1970s from the earlier friendship pairings marked by
ampersand The ampersand, also known as the and sign, is the logogram , representing the conjunction "and". It originated as a ligature of the letters ''et''—Latin for "and". Etymology Traditionally in English, when spelling aloud, any letter that ...
s (e.g., K&S). The genre as a whole is now known as
slash fiction Slash fiction (also known as "m/m slash") is a genre of fan fiction that focuses on romantic or sexual relationships between fictional characters of the same sex.Bacon-Smith, Camille. "Spock Among the Women." New York Times Sunday Book Review, ...
. Because it is more generally associated with homosexual male relationships, lesbian slash fiction is sometimes distinguished as
femslash Femslash (also known as "f/f slash", "f/f", "femmeslash", "altfic" and "sapphic") is a subgenre of slash fan fiction which focuses on romantic and/or sexual relationships between female fictional characters. Characteristics Typically, charac ...
. In situations where other pairings occur, the genres may be distinguished as m/m, f/f, &c.


Libraries

The slash is used under the
Anglo-American Cataloguing Rules Anglo-Americans are people who are English-speaking inhabitants of Anglo-America. It typically refers to the nations and ethnic groups in the Americas that speak English as a native language, making up the majority of people in the world who spe ...
to separate the title of a work from its statement of responsibility (i.e., the listing of its author, director, &c.). Like a line break, this slash is surrounded by a single space on either side. For example: * Gone with the Wind / by Margaret Mitchell. * Star Trek II. The Wrath of Khan ideorecording/ Paramount Pictures. The format is used in both
card catalog A library catalog (or library catalogue in British English) is a register of all bibliographic items found in a library or group of libraries, such as a network of libraries at several locations. A catalog for a group of libraries is also ...
s and online records.


Addresses

The slash is sometimes used as an abbreviation for building numbers. For example, in some contexts, 8/A Evergreen Gardens specifies Apartment 8 in Building A of the residential complex Evergreen Gardens. In the United States, however, such an address refers to the first division of Apartment 8 and is simply a variant of Apartment 8A or 8-A. Similarly in the United Kingdom, an address such as 12/2 Anywhere Road means flat (or apartment) 2 in the building numbered 12 on Anywhere Road.


Music

Slashes are used in
musical notation Music notation or musical notation is any system used to visually represent aurally perceived music played with instruments or sung by the human voice through the use of written, printed, or otherwise-produced symbols, including notation for ...
as an alternative to writing out specific notes where it is easier to read than traditional notation or where the player can
improvise Improvisation is the activity of making or doing something not planned beforehand, using whatever can be found. Improvisation in the performing arts is a very spontaneous performance without specific or scripted preparation. The skills of impr ...
. They are commonly used to indicate
chords Chord may refer to: * Chord (music), an aggregate of musical pitches sounded simultaneously ** Guitar chord a chord played on a guitar, which has a particular tuning * Chord (geometry), a line segment joining two points on a curve * Chord (a ...
either in place of or in combination with traditional notation and for
drummer A drummer is a percussionist who creates music using drums. Most contemporary western bands that play rock, pop, jazz, or R&B music include a drummer for purposes including timekeeping and embellishing the musical timbre. The drummer' ...
s as an indication to continue with the previously indicated style.


Sports

A slash is used to mark a
spare Spare or Spares may refer to: Common meanings * Spare (bowling), a term for knocking down all the pins using two bowling balls * short for spare part ** Spare tire People * Austin Osman Spare (1886–1956), English artist and occultist * Richard ...
(knocking down all ten pins in two throws) when scoring
ten-pin Ten-pin bowling is a type of bowling in which a bowler rolls a bowling ball down a wood or synthetic lane toward ten pins positioned evenly in four rows in an equilateral triangle. The objective is to knock down all ten pins on the first roll ...
and
duckpin bowling Duckpin bowling is a variation of the sport of bowling. Duckpin balls are in (12 cm) to 5 in (12.7 cm) in diameter, weigh 3 lb 6 oz (1.5 kg) to 3 lb 12 oz (1.7 kg) each, and lack finger holes. They are thus signific ...
.


Text messaging

In online messaging, a slash might be used to imitate the formatting of a chat command (e.g., writing "/fliptable" as though there were such a command) or the closing tags of languages such as HTML (e.g., writing "/endrant" to end an ironic diatribe or "/s" to mark the preceding text as
sarcastic Sarcasm is the caustic use of words, often in a humorous way, to mock someone or something. Sarcasm may employ ambivalence, although it is not necessarily ironic. Most noticeable in spoken word, sarcasm is mainly distinguished by the inflection ...
). A pair of slashes is sometimes used as a way to mark
italic text In typography, italic type is a cursive font based on a stylised form of calligraphic handwriting. Owing to the influence from calligraphy, italics normally slant slightly to the right. Italics are a way to emphasise key points in a printed tex ...
, where no special formatting is available (e.g., /italics/).


As a letter

The Iraqi language uses the slash as a letter, representing the
voiced pharyngeal fricative The voiced pharyngeal approximant or fricative is a type of consonantal sound, used in some spoken languages. The symbol in the International Phonetic Alphabet that represents this sound is , and the equivalent X-SAMPA symbol is ?\. Epiglotta ...
, as in /ameeni, "woman".


Spacing

There are usually no spaces either before or after a slash. According to '' New Hart's Rules: The Oxford Style Guide'', a slash is usually written without spacing on either side when it connects single words, letters or symbols. Exceptions are in representing the start of a new line when quoting verse, or a new paragraph when quoting prose. ''
The Chicago Manual of Style ''The Chicago Manual of Style'' (abbreviated in writing as ''CMOS'' or ''CMS'', or sometimes as ''Chicago'') is a style guide for American English published since 1906 by the University of Chicago Press. Its 17 editions have prescribed writi ...
'' 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 Canadian Style: A Guide to Writing and Editing'' prescribes, "No space before or after an oblique when used between individual words, letters or symbols; one space before and after the oblique when used between longer groups which contain internal spacing", giving the examples "n/a" and "Language and Society / ''Langue et société''". According to ''The Chicago Manual of Style'', when typesetting a URL or computer path, line breaks should occur before a slash but not in the text between two slashes..


Encoding

As a very common character, the slash (as "slant") was originally encoded in
ASCII ASCII ( ), abbreviated from American Standard Code for Information Interchange, is a character encoding standard for electronic communication. ASCII codes represent text in computers, telecommunications equipment, and other devices. Because of ...
with the decimal code 47 or 0x2F. The same value was used in
Unicode Unicode, formally The Unicode Standard,The formal version reference is is an information technology standard for the consistent encoding, representation, and handling of text expressed in most of the world's writing systems. The standard, whic ...
, which calls it "solidus" and also adds some more characters: * * * * * * * * (
fullwidth In CJK (Chinese, Japanese and Korean) computing, graphic characters are traditionally classed into fullwidth (in Taiwan and Hong Kong: 全形; in CJK: 全角) and halfwidth (in Taiwan and Hong Kong: 半形; in CJK: 半角) characters. Unlike ...
version of solidus) * In XML and HTML, the slash can also be represented with the
character entity In SGML, HTML and XML documents, the logical constructs known as ''character data'' and ''attribute values'' consist of sequences of characters, in which each character can manifest directly (representing itself), or can be represented by a series ...
  or the
numeric character reference A numeric character reference (NCR) is a common markup construct used in SGML and SGML-derived markup languages such as HTML and XML. It consists of a short sequence of characters that, in turn, represents a single character. Since WebSgml, X ...
  or  .


Alternative names

}).. The 'slash' is known as a "shilling stroke".. , - , ''slant'' , , From its shape, an infrequent name except (as ''slants'') in its use to mark pronunciations off from other text and as the original
ASCII ASCII ( ), abbreviated from American Standard Code for Information Interchange, is a character encoding standard for electronic communication. ASCII codes represent text in computers, telecommunications equipment, and other devices. Because of ...
name of the character. Also ''slant line(s)'' or ''bar(s)''. , - , ''slash mark'' , , An alternative name used to distinguish the punctuation mark from the word's other senses. , - , ''slat'' , , An uncommon name for the slash used by the
esoteric programming language An esoteric programming language (sometimes shortened to esolang) is a programming language designed to test the boundaries of computer programming language design, as a proof of concept, as software art, as a hacking interface to another language ...
INTERCAL The Compiler Language With No Pronounceable Acronym (INTERCAL) is an esoteric programming language that was created as a parody by Don Woods and , two Princeton University students, in 1972. It satirizes aspects of the various programming langua ...
. Also ''slak''.. , - , ''solidus'' , , Another name for the mark (derived from the Latin form of 'shilling'), also applied to other slashes separating numbers or letters, used in typography, and adopted by the
ISO ISO is the most common abbreviation for the International Organization for Standardization. ISO or Iso may also refer to: Business and finance * Iso (supermarket), a chain of Danish supermarkets incorporated into the SuperBest chain in 2007 * Is ...
and
Unicode Unicode, formally The Unicode Standard,The formal version reference is is an information technology standard for the consistent encoding, representation, and handling of text expressed in most of the world's writing systems. The standard, whic ...
. as their formal name for the ASCII slash ("slant"). () The solidus's use as a division sign is distinguished as the division slash. , - , ''strike through'' , , The "combining short" or "long solidus overlay" is a diagonal
strikethrough Strikethrough is a typographical presentation of words with a horizontal line through their center, resulting in . Contrary to censored or sanitized (redacted) texts, the words remain readable. This presentation signifies one of two meanings. I ...
, (; ) designed to produce results like A̷B̷C̷D̷ ̷e̷f̷g̷h̷i̷ or A̸B̸C̸D̸ ̸e̸f̸g̸h̸i̸. , - , ''stroke'' , , A contraction of the phrase
oblique stroke The slash is the oblique slanting line punctuation mark . Also known as a stroke, a solidus or several other historical or technical names including oblique and virgule. Once used to mark periods and commas, the slash is now used to represen ...
, used in
telegraph Telegraphy is the long-distance transmission of messages where the sender uses symbolic codes, known to the recipient, rather than a physical exchange of an object bearing the message. Thus flag semaphore is a method of telegraphy, whereas p ...
y.. It is particularly employed in reading the mark out loud: "he stroke she" is the common British reading of "he/she". "Slash" has, however, become common in Britain in computing contexts, while some North American
amateur radio Amateur radio, also known as ham radio, is the use of the radio frequency spectrum for purposes of non-commercial exchange of messages, wireless experimentation, self-training, private recreation, radiosport, contesting, and emergency communica ...
enthusiasts employ the British "stroke". Less frequently, "stroke" is also used to refer to hyphens. , - , ''virgule'' , , A development of ''virgula'' ("twig"),. the original medieval Latin name of the character when it was used as a period, scratch comma,. and caesura mark. Now primarily used as the name of the slash when it is used to mark line breaks in quotations. Sometimes mistakenly distinguished as a formal name for the slash, as against the solidus's supposed use as a fraction slash.. Formerly sometimes
anglicized Anglicisation is the process by which a place or person becomes influenced by English culture or British culture, or a process of cultural and/or linguistic change in which something non-English becomes English. It can also refer to the influen ...
in British sources as the ''virgil''. The slash may also be read out as ''and'', ''or'', ''and/or'', ''to'', or ''cum'' in some compounds separated by a slash; ''over'' or ''out of'' in fractions, division, and
numbering There are many different numbering schemes for assigning nominal numbers to entities. These generally require an agreed set of rules, or a central coordinator. The schemes can be considered to be examples of a primary key of a database management ...
; and ''per'' or ''a(n)'' in derived units (as km/h) and prices (as $~/kg), where the division slash stands for "each"..


See also

*
Strikethrough Strikethrough is a typographical presentation of words with a horizontal line through their center, resulting in . Contrary to censored or sanitized (redacted) texts, the words remain readable. This presentation signifies one of two meanings. I ...
, including slashes through figures * Feynman slash notation in physics, which employs slash-like strikethroughs * Inequality sign, an equals sign with a slash-like strikethrough


Notes


References

{{DEFAULTSORT:Slash, Punctuation Punctuation