HOME

TheInfoList



OR:

The slash is a slanting line
punctuation mark Punctuation marks are marks indicating how a piece of written text should be read (silently or aloud) and, consequently, understood. The oldest known examples of punctuation marks were found in the Mesha Stele from the 9th century BC, consisti ...
. It is also known as a stroke, a solidus, a forward slash and several other historical or technical names. Once used as the equivalent of the modern period and
comma The comma is a punctuation mark that appears in several variants in different languages. Some typefaces render it as a small line, slightly curved or straight, but inclined from the vertical; others give it the appearance of a miniature fille ...
, the slash is now used to represent division and fractions, as a date separator, or to connect alternative terms. A slash in the reverse direction is known as a
backslash The backslash is a mark used mainly in computing and mathematics. It is the mirror image of the common slash (punctuation), slash . It is a relatively recent mark, first documented in the 1930s. It is sometimes called a hack, whack, Escape c ...
.


History

Slashes may be found in early writing as a variant form of dashes, vertical strokes, etc. The present use of a slash distinguished from such other marks derives from the
medieval Europe In the history of Europe, the Middle Ages or medieval period lasted approximately from the 5th to the late 15th centuries, similarly to the post-classical period of World history (field), global history. It began with the fall of the West ...
an virgule (, which was used as a period, scratch comma, and caesura mark. (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. Some typefaces render it as a small line, slightly curved or straight, but inclined from the vertical; others give it the appearance of a miniature fille ...
and caesura mark ) Its use as a comma became especially widespread in
France France, officially the French Republic, is a country located primarily in Western Europe. Overseas France, Its overseas regions and territories include French Guiana in South America, Saint Pierre and Miquelon in the Atlantic Ocean#North Atlan ...
, 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. The hyphen is sometimes confused with dashes (en dash , em dash and others), which are wider, or with t ...
. The
Fraktur Fraktur () is a calligraphic hand of the Latin alphabet and any of several blackletter typefaces derived from this hand. It is designed such that the beginnings and ends of the individual strokes that make up each letter will be clearly vis ...
script used throughout
Central Europe Central Europe is a geographical region of Europe between Eastern Europe, Eastern, Southern Europe, Southern, Western Europe, Western and Northern Europe, Northern Europe. Central Europe is known for its cultural diversity; however, countries in ...
in the
early modern period The early modern period is a Periodization, historical period that is defined either as part of or as immediately preceding the modern period, with divisions based primarily on the history of Europe and the broader concept of modernity. There i ...
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 before being usually simplified into various single dashes. In the 18th century, the mark was generally known in English as the " oblique". but particularly the less vertical fraction slash. The variant "oblique stroke" was increasingly shortened to "
stroke Stroke is a medical condition in which poor cerebral circulation, blood flow to a part of the brain causes cell death. There are two main types of stroke: brain ischemia, ischemic, due to lack of blood flow, and intracranial hemorrhage, hemor ...
", 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", from its use as a notation or 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 ...
. The name "slash" is a recent development, not appearing in
Webster's Dictionary ''Webster's Dictionary'' is any of the US English language dictionaries edited in the early 19th century by Noah Webster (1758–1843), a US lexicographer, 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 Computing is any goal-oriented activity requiring, benefiting from, or creating computer, computing machinery. It includes the study and experimentation of algorithmic processes, and the development of both computer hardware, hardware and softw ...
, 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 corporation and technology company, technology conglomerate headquartered in Redmond, Washington. Founded in 1975, the company became influential in the History of personal computers#The ear ...
's DOS and
Windows Windows is a Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
operating system An operating system (OS) is system software that manages computer hardware and software resources, and provides common daemon (computing), services for computer programs. Time-sharing operating systems scheduler (computing), schedule tasks for ...
s, which use the
backslash The backslash is a mark used mainly in computing and mathematics. It is the mirror image of the common slash (punctuation), slash . It is a relatively recent mark, first documented in the 1930s. It is sometimes called a hack, whack, Escape c ...
extensively.


Usage


Disjunction and conjunction


Connecting alternatives

The slash is commonly used in many languages as a shorter substitute for the conjunction "or", typically with the sense of
exclusive or Exclusive or, exclusive disjunction, exclusive alternation, logical non-equivalence, or logical inequality is a logical operator whose negation is the logical biconditional. With two inputs, XOR is true if and only if the inputs differ (on ...
(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 tradition, oral and writing, written historical sources. It is the intersection of textual criticism, literary criticism, history, and linguistics with strong ties to etymology. Philology is also de ...
to note variants (e.g., ''virgula/'') and
etymologies Etymology ( ) is the study of the origin and evolution of words—including their constituent units of sound and meaning—across time. In the 21st century a subfield within linguistics, etymology has become a more rigorously scientific study. ...
(e.g., F. / LL. / L. / PIE. '). Such slashes may be used to avoid taking a position in naming disputes. One example is the Assyrian 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 reference 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 i ...
in place of the traditional
masculine Masculinity (also called manhood or manliness) is a set of attributes, behaviors, and roles generally associated with men and boys. Masculinity can be theoretically understood as socially constructed, and there is also evidence that some beh ...
or
plural In many languages, a plural (sometimes list of glossing abbreviations, abbreviated as pl., pl, , or ), is one of the values of the grammatical number, grammatical category of number. The plural of a noun typically denotes a quantity greater than ...
gender neutrals. In the case of English, 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 northern Indian subcontinent, most of Europe, and the Iranian plateau with additional native branches found in regions such as Sri Lanka, the Maldives, parts of Central Asia (e. ...
include more far-reaching use of
grammatical gender In linguistics, a grammatical gender system is a specific form of a noun class system, where nouns are assigned to gender categories that are often not related to the real-world qualities of the entities denoted by those nouns. In languages wit ...
. 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 and adjectives, and verb endings, which form the conjugation of verbs. Suffixes can ca ...
s (grammatical suffices) of the words may be given divided by slashes or set off with parentheses. For example, in Spanish, 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,
at sign The at sign () is an accounting and invoice abbreviation meaning "at a rate of" (e.g. 7 Widget (economics), widgets @ £2 per widget = £14), now seen more widely in email addresses and social media platform User (computing), handles. It is norm ...
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''. Although not as common as
brackets 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. They come in four main pairs of shapes, as given in the box to the right, which also gives their n ...
, slashes can also be used for words the author do not know is plural or singular such as "child/ren", "is/are", "book/s", "answer/s" or "fix/es".


Connecting non-contrasting items

The slash is also used as a shorter substitute for the conjunction "and" or inclusive or (i.e., A or B or both), typically in situations where it fills the role of a hyphen or en dash. For example, the "Hemingway/Faulkner generation" might be used to discuss the era of the
Lost Generation The Lost Generation was the Demography, demographic Cohort (statistics), cohort that reached early adulthood during World War I, and preceded the Greatest Generation. The social generation is generally defined as people born from 1883 to 1900, ...
inclusive of the people around and affected by both Hemingway and Faulkner. This use is sometimes proscribed, as by ''
New Hart's Rules ''Hart's Rules'' is the oldest continuously updated style guide in the English language, providing advice on topics such as punctuation, citation, and typography. Printer and biographer Horace Hart first issued the work in 1893 for the composi ...
'', the style guide for the
Oxford University Press Oxford University Press (OUP) is the publishing house of the University of Oxford. It is the largest university press in the world. Its first book was printed in Oxford in 1478, with the Press 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, Shanghainese: , Standard Chinese pronunciation: is a direct-administered municipality and the most populous urban area in China. The city is located on the Chinese shoreline on the southern estuary of the Yangtze River, with the ...
/
Nanjing Nanjing or Nanking is the capital of Jiangsu, a province in East China. The city, which is located in the southwestern corner of the province, has 11 districts, an administrative area of , and a population of 9,423,400. Situated in the Yang ...
/
Wuhan Wuhan; is the capital of Hubei, China. With a population of over eleven million, it is the most populous city in Hubei and the List of cities in China by population, eighth-most-populous city in China. It is also one of the nine National cent ...
/
Chongqing ChongqingPostal Romanization, Previously romanized as Chungking ();. is a direct-administered municipality in Southwestern China. Chongqing is one of the four direct-administered municipalities under the State Council of the People's Republi ...
as stops on a tour of the
Yangtze The Yangtze or Yangzi ( or ) is the longest river in Eurasia and the third-longest in the world. It rises at Jari Hill in the Tanggula Mountains of the Tibetan Plateau and flows including Dam Qu River the longest source of the Yangtze, i ...
).


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 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'' slash '' Diatryma''" for two supposed genera of prehistoric birds which are now thought to be one genus.


Mathematics


Fractions

The slash is used between two numbers to indicate a
fraction A fraction (from , "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-fifths, thre ...
or
ratio In mathematics, a ratio () shows how many times one number contains another. For example, if there are eight oranges and six lemons in a bowl of fruit, then the ratio of oranges to lemons is eight to six (that is, 8:6, which is equivalent to the ...
. Such formatting developed as a way to write the horizontal fraction bar on a single line of text. It is first attested in
England England is a Countries of the United Kingdom, country that is part of the United Kingdom. It is located on the island of Great Britain, of which it covers about 62%, and List of islands of England, more than 100 smaller adjacent islands. It ...
and
Mexico Mexico, officially the United Mexican States, is a country in North America. It is the northernmost country in Latin America, and borders the United States to the north, and Guatemala and Belize to the southeast; while having maritime boundar ...
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, wh ...
, and subscript (e.g., /). This notation is responsible for the current form of the
percent In mathematics, a percentage () 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 used. A percentage is a dime ...
,
permille The phrase per mille () indicates parts per thousand. The associated symbol is , similar to a per cent sign but with an extra zero in the divisor. Major dictionaries do not agree on the spelling, giving other options of per mil, per mill, p ...
, and
permyriad A basis point (often abbreviated as bp, often pronounced as "bip" or "beep") is one hundredth of 1 percentage point. Changes of interest rates are often stated in basis points. For example, if an existing interest rate of 10 percent is increased ...
signs, developed from the horizontal form which represented an early modern corruption of an Italian abbreviation of ''per cento''. Unicode provides for a dedicated fraction slash that is distinct from the ASCII solidus . Many typefaces draw this fraction slash (and the division slash) at a less vertical angle than the solidus. The separate encoding permits automatic formatting of the preceding and succeeding digits by glyph substitution with numerator and denominator glyphs, which are in turn distinct from superscript and subscript glyphs (e.g., display of "1, fraction slash, 2" as , and similarly "123, fraction slash, 456" as "123⁄456"). This is supported by an increasing number of environments and
computer font A computer font is implemented as a digital data file containing a set of graphically related glyphs. A computer font is designed and created using a font editor. A computer font specifically designed for the computer screen, and not for printi ...
s. Because support is not yet universal, 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 a ...
to compose fractions, and many computer fonts design these characters for this purpose. In addition, precomposed fractions of the multiples less than 1 of / for 2 ≤ n ≤ 6 and n = 8 (e.g. and , as well as , , and , are found in the Unicode Number Forms or Latin-1 Supplement blocks. 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 Localization or localisation may refer to: Biology * Localization of function, locating psychological functions in the brain or nervous system; see Linguistic intelligence * Localization of sensation, ability to tell what part of the body is aff ...
.


Division

The division slash is used between two numbers to indicate division. This use developed from the fraction slash in the late 18th or early 19th century. The formatting was advocated by De Morgan in the mid-19th century., Page 84 in this version who wrote: :The occurrence of fractions, such as , , in the verbal part of mathematical works is a source of considerable loss of room, and creates an inelegant and even confused appearance in the printed page. It is very desirable, in every point of view, except the strictly mathematical one, that some method of representation should be adopted which does not require a larger space than is usual between two successive lines. At the same time, it is by no means of very great importance that the verbal part should entirely coincide with the mathematical part in notation, so long as the latter remains to preserve the usual conventions. The symbol ÷ has been disused for a sufficient reason, namely, the number of times which the pen must be taken off to form it. This has been, and we imagine always will be, the cause either of abandonment or abbreviation. The question is, whether a new and easy notation could not be substituted; and it is desirable that it should be derived from analogy, such as (accidentally, we believe) does exist in >, =, and <. If we look at × and +, and observe that the first is made by turning the second through half a right angle, denoting multiplication, which is primarily an extension of addition in like manner as division is an extension of subtraction, we may thus invent the symbol / or \ to denote division, which is also the symbol of subtraction turned through half a right angle. If a/b were used to denote a divided by b, and (a+b)/(c+d) to denote a + b divided by c + d, all necessity for increased spacing would be avoided; but this alteration should not be introduced into completely mathematical expressions, though it would be convenient in particular cases.


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. A simpler example is equ ...
\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 group (mathematics), groups. The concept of a group is central to abstract algebra: other well-known algebraic structures, such as ring (mathematics), rings, field ( ...
, 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 ex ...
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 In computing and mathematics, the modulo operation returns the remainder or signed remainder of a division, after one number is divided by another, the latter being called the '' modulus'' of the operation. Given two positive numbers and , mo ...
". 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 ( rings,
vector space In mathematics and physics, a vector space (also called a linear space) is a set (mathematics), set whose elements, often called vector (mathematics and physics), ''vectors'', can be added together and multiplied ("scaled") by numbers called sc ...
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 (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
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 Character (computing), characters that are intended to modify other characters. The most common combining characters in the Latin script are the combining diacritic, diacritical marks (including c ...
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 Field theory (physics), field theory and the principle of relativity with ideas behind quantum mechanics. QFT is used in particle physics to construct phy ...
. 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 Computing is any goal-oriented activity requiring, benefiting from, or creating computer, computing machinery. It includes the study and experimentation of algorithmic processes, and the development of both computer hardware, hardware and softw ...
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 component separator in many
computer A computer is a machine that can be Computer programming, programmed to automatically Execution (computing), carry out sequences of arithmetic or logical operations (''computation''). Modern digital electronic computers can perform generic set ...
operating systems (e.g., Unix's ). In
Unix Unix (, ; trademarked as UNIX) is a family of multitasking, multi-user 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, a ...
and
Unix-like A Unix-like (sometimes referred to as UN*X, *nix or *NIX) operating system is one that behaves in a manner similar to a Unix system, although not necessarily conforming to or being certified to any version of the Single UNIX Specification. A Uni ...
systems, such as
macOS macOS, previously OS X and originally Mac OS X, is a Unix, Unix-based operating system developed and marketed by Apple Inc., Apple since 2001. It is the current operating system for Apple's Mac (computer), Mac computers. With ...
and
Linux Linux ( ) is a family of open source Unix-like operating systems based on the Linux kernel, an kernel (operating system), operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically package manager, pac ...
, the slash is also used for the
volume Volume is a measure of regions in 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) ...
root directory In a Computing, computer file system, and primarily used in the Unix and Unix-like operating systems, the root directory is the first or top-most Directory (computing), directory in a hierarchy. It can be likened to the trunk of a Tree (data st ...
(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 Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
systems.


Networking

The slash is used in a similar fashion in internet URLs (e.g., ). Often this portion of such URLs corresponds with files on a Unix server with the same name, and this is where this convention for
internet The Internet (or internet) is the Global network, global system of interconnected computer networks that uses the Internet protocol suite (TCP/IP) to communicate between networks and devices. It is a internetworking, network of networks ...
URLs comes from. The slash in an
IP address An Internet Protocol address (IP address) is a numerical label such as that is assigned to a device connected to a computer network that uses the Internet Protocol for communication. IP addresses serve two main functions: network interface i ...
(e.g., ) indicates the prefix size in
CIDR notation Classless Inter-Domain Routing (CIDR ) is a method for allocating IP addresses for IP routing. The Internet Engineering Task Force introduced CIDR in 1993 to replace the previous classful network addressing architecture on the Internet. Its goal ...
. The number of addresses of a subnet may be calculated as 2, 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 communication protocol, communications protocol that provides an identification and location system for computers on networks and routes traffic ...
and 32 for
IPv4 Internet Protocol version 4 (IPv4) is the first version of the Internet Protocol (IP) as a standalone specification. It is one of the core protocols of standards-based internetworking methods in the Internet and other packet-switched networks. ...
. For example, in IPv4, the prefix size/29 gives: 2 = 2 = 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. Programming languages are described in terms of their Syntax (programming languages), syntax (form) and semantics (computer science), semantics (meaning), usually def ...
s while APL uses it for reduction ( fold) and compression ( filter). The double slash is used by
Rexx Rexx (restructured extended executor) is a high-level programming language developed at IBM by Mike Cowlishaw. Both proprietary and open-source software, open source Rexx interpreter (computing), interpreters exist for a wide range of comput ...
as a modulo operator, and Python (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 wikt:hovel, 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 ex ...
) 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, implementat ...
and
GNU Octave GNU Octave is a scientific programming language for scientific computing and numerical computation. Octave helps in solving linear and nonlinear problems numerically, and for performing other numerical experiments using a language that is mostly ...
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 initially developed by IBM. It is designed for scientific, engineering, business and system programming. It has b ...
and subsequently adopted by SAS, C, Rexx, C++,
Java Java is one of the Greater Sunda Islands in Indonesia. It is bordered by the Indian Ocean to the south and the Java Sea (a part of Pacific Ocean) to the north. With a population of 156.9 million people (including Madura) in mid 2024, proje ...
,
JavaScript JavaScript (), often abbreviated as JS, is a programming language and core technology of the World Wide Web, alongside HTML and CSS. Ninety-nine percent of websites use JavaScript on the client side for webpage behavior. Web browsers have ...
, PHP, CSS, and C#. A double slash is also used by C99, 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 * SWIF ...
, Pascal and JavaScript to start a single line comment. In
SGML The Standard Generalized Markup Language (SGML; International Organization for Standardization, 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 t ...
and derived languages such as
HTML Hypertext Markup Language (HTML) is the standard markup language for documents designed to be displayed in a web browser. It defines the content and structure of web content. It is often assisted by technologies such as Cascading Style Sheets ( ...
and
XML Extensible Markup Language (XML) is a markup language and file format for storing, transmitting, and reconstructing data. It defines a set of rules for encoding electronic document, documents in a format that is both human-readable and Machine-r ...
, a slash is used in closing tags. For example, in HTML, begins a section of text and closes it. In XHTML, slashes are also necessary for "self-closing" elements such as the
newline A 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 ...
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,
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 compu ...
, TOPS-10, et cetera),
Windows Windows is a Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
, DOS, 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/Intel 8085, 85-based microcomputers by Gary Kildall of Digital Research, Dig ...
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 is a Proprietary software, proprietary computer operating system for x86 and PowerPC based personal computers. It was created and initially developed jointly by IBM and Microsoft, under the leadership of IBM software designer Ed Iacobucci, ...
all use the slash to indicate command-line options. For example, the command is understood as using the command dir ("directory") with the "wide" option. 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 match pattern in text. Usually such patterns are used by string-searching algorithms for "find" ...
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 IRC (Internet Relay Chat) 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 ...
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 2011 sandbox game developed and published by the Swedish video game developer Mojang Studios. Originally created by Markus Persson, Markus "Notch" Persson using the Java (programming language), Java programming language, the ...
''s chat function, the slash is used for executing console and plugin commands. In ''
Second Life ''Second Life'' is a multiplayer virtual world that allows people to create an Avatar (computing), avatar for themselves and then interact with other users and user-created content within a multi-user online environment. Developed for person ...
''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, slash commands are used to send special messages and execute commands, like sending a shrug emoji (¯\_(ツ)_/¯) or a table flip emoji ((╯°□°)╯︵ ┻━┻), or changing one's nickname using "/nick". Slash commands can also be used to use Discord bots. The Gedcom standard for exchanging computerized genealogical data uses slashes to delimit surnames; an example would be Bill /Smith/ Jr. Slashes around surnames are also used in Personal Ancestral File.


Electronics

A leading slash is one of several common conventions for indicating an active-low digital signal, which performs the named function when at a low voltage level. For example,
dynamic random-access memory Dynamics (from Greek language, Greek δυναμικός ''dynamikos'' "powerful", from δύναμις ''dynamis'' "power (disambiguation), power") or dynamic may refer to: Physics and engineering * Dynamics (mechanics), the study of forces and t ...
has active-low Chip Select, Row Address Strobe and Column Address Strobe signals, commonly written , , and . This extends to signals which select between two options, such as "", which indicates that the function is "read" when high and "write" when low. (Sometimes written as for greater clarity.


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 object, usually round and flat, 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 facilitate trade. They are most often issued by ...
of the United Kingdom and its former colonies. Before the decimalisation of currency in Britain, its currency abbreviations (collectively
£sd file:Guildhall Museum Collection- Drusilla Dunford Money Table Sampler 3304.JPG, A Sampler (needlework), sampler in the Rochester Guildhall, Guildhall Museum of Rochester, Medway, Rochester illustrates the conversion between pence and shillings ...
) represented their
Latin Latin ( or ) is a classical language belonging to the Italic languages, Italic branch of the Indo-European languages. Latin was originally spoken by the Latins (Italic tribe), Latins in Latium (now known as Lazio), the lower Tiber area aroun ...
names, derived from a medieval French modification of the late Roman libra, solidus, and
denarius The ''denarius'' (; : ''dēnāriī'', ) was the standard Ancient Rome, 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 cont ...
. Thus, one
penny A penny is a coin (: pennies) or a unit of currency (: pence) in various countries. Borrowed from the Carolingian denarius (hence its former abbreviation d.), it is usually the smallest denomination within a currency system. At present, it is ...
less than two pounds was written or During the period when
English orthography English orthography comprises the set of rules used when writing the English language, allowing readers and writers to associate written graphemes with the sounds of spoken English, as well as other features of the language. English's orthograp ...
included the
long s The long s, , also known as the medial ''s'' or initial ''s'', is an Archaism, archaic form of the lowercase letter , found mostly in works from the late 8th to early 19th centuries. It replaced one or both of the letters ''s'' in a double-''s ...
, or ', (abbreviating ''shilling'') the ſ came to be written as a single slash. The d. might be omitted, and "2ſ6" ("two shillings and sixpence") became simplified as 2/6. 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 Hindustani language, Hindustani , 'reign', 'rule' or 'government') was the colonial rule of the British The Crown, Crown on the Indian subcontinent, * * lasting from 1858 to 1947. * * It is also called Crown rule ...
and early independent India for the predecimalization
rupee Rupee (, ) is the common name for the currency, currencies of Indian rupee, India, Mauritian rupee, Mauritius, Nepalese rupee, Nepal, Pakistani rupee, Pakistan, Seychellois rupee, Seychelles, and Sri Lankan rupee, Sri Lanka, and of former cu ...
/ anna/ pie system. In five East African countries (
Kenya Kenya, officially the Republic of Kenya, is a country located in East Africa. With an estimated population of more than 52.4 million as of mid-2024, Kenya is the 27th-most-populous country in the world and the 7th most populous in Africa. ...
,
Tanzania Tanzania, officially the United Republic of Tanzania, is a country in East Africa within the African Great Lakes region. It is bordered by Uganda to the northwest; Kenya to the northeast; the Indian Ocean to the east; Mozambique and Malawi to t ...
,
Uganda Uganda, officially the Republic of Uganda, is a landlocked country in East Africa. It 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 ...
,
Somalia Somalia, officially the Federal Republic of Somalia, is the easternmost country in continental Africa. The country is located in the Horn of Africa and is bordered by Ethiopia to the west, Djibouti to the northwest, Kenya to the southwest, th ...
, and the ''de facto'' country of
Somaliland Somaliland, officially the Republic of Somaliland, is an List of states with limited recognition, unrecognised country in the Horn of Africa. It is located in the southern coast of the Gulf of Aden and bordered by Djibouti to the northwest, E ...
), where the national currencies are denominated in shillings, the
decimal separator FIle:Decimal separators.svg, alt=Four types of separating decimals: a) 1,234.56. b) 1.234,56. c) 1'234,56. d) ١٬٢٣٤٫٥٦., Both a comma and a full stop (or period) are generally accepted decimal separators for international use. The apost ...
is a slash mark (e.g., ). Where the minor unit is zero, an
equals sign The equals sign (British English) or equal sign (American English), also known as the equality sign, is the mathematical symbol , which is used to indicate equality. In an equation it is placed between two expressions that have the same valu ...
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, enabling a specific day to be unambiguously identified. Simple math can be performed between dates; commonly, the number of days between two dates may be ca ...
separator used across many countries and by some standards such as the Common Log Format 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 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 International Organization for Standardization (ISO) and was first published in 1988, with updates in ...
advocates the use of a Year-Month-Day system separated by hyphens (e.g., Victory in Europe Day occurred on 1945-05-08). In the ISO 8601 system, slashes represent date ranges: "1939/1945" represents what is more commonly written in Anglophone countries as "1939–1945". 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, the festival commemorating nativity of Jesus, the birth of Jesus in Christianity, Jesus. Christmas Day is observance of Christmas by country, observed around the world, and Christma ...
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 World War II or the Second World War (1 September 1939 – 2 September 1945) was a World war, global conflict between two coalitions: the Allies of World War II, Allies and the Axis powers. World War II by country, Nearly all of the wo ...
, where such slash dates were used for night-bombing 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, and so on, "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 force, air service branch of the United States Department of Defense. It is one of the six United States Armed Forces and one of the eight uniformed services of the United States. Tracing its ori ...
'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 of
speech Speech is the use of the human voice as a medium for language. Spoken language combines vowel and consonant sounds to form units of meaning like words, which belong to a language's lexicon. There are many different intentional speech acts, suc ...
to enclose pronunciations (i.e.,
phonetic transcription Phonetic transcription (also known as Phonetic script or Phonetic notation) is the visual representation of speech sounds (or ''phonetics'') 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 one of multiple possible spoken soundsor '' phones''used to pronounce a single phoneme in a particular language. For example, in English, the voiceless plosi ...
transcriptions are enclosed by square brackets. 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, scientific study of how language is shaped by, and used differently within, any given society. The field largely looks at how a language changes between distinct social groups, as well as how it varies unde ...
, 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 letters ǀ, ǁ. A diaphonemic transcription may be marked in several ways, e.g. with a pair of slash marks ().


Poetry

The slash is used in various scansion 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 (from the Greek language, Greek word ''poiesis'', "making") is a form of literature, literary art that uses aesthetics, aesthetic and often rhythmic qualities of language to evoke meaning (linguistics), meanings in addition to, or in ...
, song lyrics, and
drama Drama is the specific Mode (literature), mode of fiction Mimesis, represented in performance: a Play (theatre), play, opera, mime, ballet, etc., performed in a theatre, or on Radio drama, radio or television.Elam (1980, 98). Considered as a g ...
tic scripts, formats where omitting the line breaks risks losing meaningful context. For example, here is a part of
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. Set in Denmark, the play (the ...
's
soliloquy A soliloquy (, from Latin 'alone' and 'to speak', ) is a speech in drama in which a character speaks their thoughts aloud, typically while alone on stage. It serves to reveal the character's inner feelings, motivations, or plans directly to ...
: If someone wanted to quote the above
soliloquy A soliloquy (, from Latin 'alone' and 'to speak', ) is a speech in drama in which a character speaks their thoughts aloud, typically while alone on stage. It serves to reveal the character's inner feelings, motivations, or plans directly to ...
in a prose paragraph, it is standard to mark the line breaks as follows: "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 ...
breaks when quoting a
prose Prose is language that follows the natural flow or rhythm of speech, ordinary grammatical structures, or, in writing, typical conventions and formatting. Thus, prose ranges from informal speaking to formal academic writing. Prose differs most n ...
passage. Some style guides, such as '' New 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 before the virgule to prevent it from being widowed 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 type of abbreviation consisting of a phrase whose only pronounced elements are the initial letters or initial sounds of words inside that phrase. Acronyms are often spelled with the initial letter of each word in all caps wi ...
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, i/o, or informally io or IO) is the communication between an information processing system, such as a computer, and the outside world, such as another computer system, peripherals, or a human operator. Inputs a ...
"), r/w ("read/write"), and n/a ("not applicable" or, in aviation, "not authorized"). 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 (1 September 1939 – 2 September 1945) was a World war, global conflict between two coalitions: the Allies of World War II, Allies and the Axis powers. World War II by country, Nearly all of the wo ...
(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 units 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 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 a Federal government of the United States, U.S. federal government agency within the United States Department of Transportation, U.S. Department of Transportation that regulates civil aviation in t ...
's Office of Commercial Space Transportation is formally abbreviated FAA/AST.


Proofreading

The slash or vertical bar (as a " separatrix") is used in
proofreading Proofreading is a phase in the process of publishing where galley proofs are compared against the original manuscripts or graphic artworks, to identify transcription errors in the typesetting process. In the past, proofreaders would place corr ...
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 type of abbreviation consisting of a phrase whose only pronounced elements are the initial letters or initial sounds of words inside that phrase. Acronyms are often spelled with the initial letter of each word in all caps wit ...
, such as l/c and u/c for changes to lower and
upper case Letter case is the distinction between the letters that are in larger uppercase or capitals (more formally ''#Majuscule, majuscule'') and smaller lowercase (more formally ''#Minuscule, minuscule'') in the written representation of certain langua ...
, respectively.


Typist

In formal business correspondence, when a letter is typed by someone other than the person responsible for its contents, it is standard to add a suffix with the initials of the author (in upper-case), and typist (in lower-case) after the signature block, separated by a slash. For example, a letter typed by D.E. at the direction of A.B.C. would include the line "ABC/de".


Fiction

The slash is used in
fan fiction Fan fiction or fanfiction, also known as fan fic, fanfic, fic or FF, is fiction typically written in an amateur capacity by fans as a form of fan labor, unauthorized by, but based on, an existing work of fiction. The author uses copyrighted ...
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 Star Trek: The Original Series, series of the same name and became a worldwide Popular culture, pop-culture Cultural influence of ...
'' story would focus on a sexual relationship between Kirk and Spock), 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 grammatical conjunction, conjunction "and". It originated as a typographic ligature, ligature of the letters of the word (Latin for "and"). Etymology Tradi ...
s (e.g., K&S). The genre as a whole is now known as slash fiction. Because it is more generally associated with homosexual male relationships, lesbian slash fiction is sometimes distinguished as femslash. In situations where other pairings occur, the genres may be distinguished as m/m, f/f, and so on.


Libraries

The slash is used under the
Anglo-American Cataloguing Rules ''Anglo-American Cataloguing Rules'' (AACR) were an international library cataloging standard. First published in 1967 and edited by C. Sumner Spalding, a second edition (AACR2) edited by Michael Gorman and Paul W. Winkler was issued in 1978, ...
to separate the title of a work from its statement of responsibility (i.e., the listing of its author, director, etc.). 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 catalogs 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. The slash is also used in the United States in the postal abbreviation for "care of." For example, Judy Smith c/o Bob Smith could be used when Bob Smith is receiving mail on Judy's behalf. Typically, this would be used in a situation where someone is either out of town, in an institution or hotel, or temporarily staying at another's address. In Spanish address writings, "c/" is used as the abbreviation of "calle" (or "carrer" in Catalan) meaning "street".


Music

Slashes are used in
musical notation Musical notation is any system used to visually represent music. Systems of notation generally represent the elements of a piece of music that are considered important for its performance in the context of a given musical tradition. The proce ...
as an alternative to writing out specific notes where it is easier to read than traditional notation or where the player can
improvise Improvisation, often shortened to improv, is the activity of making or doing something not planned beforehand, using whatever can be found. The origin of the word itself is in the Latin "improvisus", which literally means un-foreseen. Improvis ...
. They are commonly used to indicate chords either in place of or in combination with traditional notation, notably in the form of slash chords. For
drummer A drummer is a percussionist who creates music using drums. Most contemporary western music ensemble, bands that play Rock music, rock, Pop music, pop, jazz, or Contemporary R&B, R&B music include a drummer for purposes including timekeepi ...
s, they find use as an indication to continue with a previously indicated style.


Sports

A slash is used to mark a spare (knocking down all ten pins in two throws) when scoring ten-pin and duckpin bowling.


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 a diatribe or "/s" to mark the preceding text as sarcastic). A pair of slashes is sometimes used as a way to mark italic text, where no special formatting is available (e.g., /italics/).


Before an e-signature

In legal writing, especially in a pleading, attorneys often sign their name with an "s" that is either enclosed by two slashes or followed by a single slash and preceding the attorney's name. An example would be the following:


As a letter

The Iraqw language of Tanzania uses the slash as a letter, representing the voiced pharyngeal fricative, 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'' (''CMOS'') is a style guide for American English published since 1906 by the University of Chicago Press. Its 18 editions (the most recent in 2024) have prescribed writing and citation styles widely used in publ ...
'' 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 ( ), an acronym for American Standard Code for Information Interchange, is a character encoding standard for representing a particular set of 95 (English language focused) printable character, printable and 33 control character, control c ...
with the decimal code 47 or 0x2F. The same value was used in
Unicode Unicode or ''The Unicode Standard'' or TUS is a character encoding standard maintained by the Unicode Consortium designed to support the use of text in all of the world's writing systems that can be digitized. Version 16.0 defines 154,998 Char ...
, which calls it "solidus" and also adds some more characters: * (ASCII "slant" or "slash") * (for
strikethrough Strikethrough, or strikeout, is a typographical presentation of words with a horizontal line through their center, resulting in , sometimes an X or a forward slash is typed over the top instead of using a horizontal line. Strike-through was u ...
) * (for
strikethrough Strikethrough, or strikeout, is a typographical presentation of words with a horizontal line through their center, resulting in , sometimes an X or a forward slash is typed over the top instead of using a horizontal line. Strike-through was u ...
) * * * * * ( fullwidth version of solidus) * In XML and HTML, the slash can also be represented with the character entity   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, XM ...
  or  .


Alternative names

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; 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, or strikeout, is a typographical presentation of words with a horizontal line through their center, resulting in , sometimes an X or a forward slash is typed over the top instead of using a horizontal line. Strike-through was u ...
, 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