scratch comma
   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. A ...
. 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 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 of ...
.


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 late 5th to the late 15th centuries, similar to the post-classical period of global history. It began with the fall of the Western Roman Empire a ...
an
virgule Virgule ('twig') may refer to: * A "''/'' " used to mark line breaks * Secondary chord, in music * A ", " marking poetic meter See also *Virgile Virgile is a given name. Notable persons with that name include: * Virgile Barel (1889-1979), Fr ...
( 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 first sense was eventually lost to the low dot and the other two developed separately into the comma and caesura mark ) Its use as a comma became especially widespread in
France France (), officially the French Republic ( ), is a country primarily located in Western Europe. It also comprises of overseas regions and territories in the Americas and the Atlantic, Pacific and Indian Oceans. Its metropolitan area ...
, 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 Antiqu ...
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 a ...
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 b ...
". The variant "oblique stroke" was increasingly shortened to " stroke", 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), a Roman coin of nearly solid gold * Solidus (punctuation), or slash, a punctuation mark * Solidus (chemistry), the line on a phase diagram below which a substance is completely solid * ...
", from its use as the currency sign for the shilling. 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 ...
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 computing machinery. It includes the study and experimentation of algorithmic processes, and development of both hardware and software. Computing has scientific, ...
, 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, Washin ...
'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 communicat ...
and
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 ser ...
operating system An operating system (OS) is system software that manages computer hardware, software resources, and provides common services for computer programs. Time-sharing operating systems schedule tasks for efficient use of the system and may also i ...
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 of ...
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 th ...
to note variants (e.g., ''virgula/'') and etymologies (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 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 de ...
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 overwhelming majority of Europe, the Iranian plateau, and the northern Indian subcontinent. Some European languages of this family, English, French, Portuguese, Russian, Dutc ...
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 noun ...
. 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 gr ...
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 (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 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 fi ...
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 (OU ...
'', 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 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 or ...
'' 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 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 country that is part of the United Kingdom. It shares land borders with Wales to its west and Scotland to its north. The Irish Sea lies northwest and the Celtic Sea to the southwest. It is separated from continental Europe b ...
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, and subscript (e.g., 2343). This notation is responsible for the current form of the percent , permille , and permyriad 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 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. Thi ...
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 fraction ...
.


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 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 \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 classes 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 groups. 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 ( rings,
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 can ...
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 languag ...
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 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. 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 computing machinery. It includes the study and experimentation of algorithmic processes, and development of both hardware and software. Computing has scientific, ...
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, an ...
and
Unix-like A Unix-like (sometimes referred to as UN*X 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 Unix-li ...
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 lapt ...
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, w ...
, 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). Th ...
root directory (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 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 Identifi ...
(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 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. 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 tha ...
). The double slash is used by Rexx 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 (pro ...
(starting in version 2.2) uses a double slash for division which rounds (using floor) 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, implementa ...
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++ (pronounced "C plus plus") is a high-level general-purpose programming language created by Danish computer scientist Bjarne Stroustrup as an extension of the C programming language, or "C with Classes". The language has expanded significan ...
,
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 mos ...
,
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, of ...
,
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 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 JavaSc ...
and
XML Extensible Markup Language (XML) is a markup language and file format for storing, transmitting, and reconstructing arbitrary data. It defines a set of rules for encoding documents in a format that is both human-readable and machine-readable ...
, 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 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 un ...
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 computin ...
, TOPS-10, et cetera),
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 ser ...
,
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 communicat ...
, some CP/M programs, OpenVMS, 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 r ...
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. 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" ...
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 an ...
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, 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 t ...
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 ...
) 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 libra,
solidus Solidus (Latin for "solid") may refer to: * Solidus (coin), a Roman coin of nearly solid gold * Solidus (punctuation), or slash, a punctuation mark * Solidus (chemistry), the line on a phase diagram below which a substance is completely solid * ...
, 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 ...
.. See also Carolingian monetary system. Thus, one penny 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 him ...
and early independent India for the predecimalization rupee/ anna/ pie 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 ...
,
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 sou ...
,
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), 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 choi ...
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 tw ...
is used (e.g., 5/=).


Dates

Slashes are a common calendar date 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 Geneva-based International Organization for Standardization (ISO) and was first published in 1988, w ...
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 Easte ...
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 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, 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 ...
, 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 moder ...
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 Sig ...
'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 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 I ...
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 Norm (sociology), norms, expectations, and context (language use), context, on the way language is used, and society's effect on languag ...
, 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 Daniel ...
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 ...
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 i ...
,
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 b ...
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 tragedy written by William Shakespeare sometime between 1599 and 1601. It is Shakespeare's longest play, with 29,551 words. Set in Denmark, the play depicts ...
's soliloquy
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 Prose is a form of written or spoken language that follows the natural flow of speech, uses a language's ordinary grammatical structures, or follows the conventions of formal academic writing. It differs from most traditional poetry, where the ...
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 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 so ...
on the next line.


Abbreviation

The slash has become standard in several abbreviations. Generally, it is used to mark two-letter initialisms 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 opposi ...
(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 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 ...
'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 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, 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 Gloucestershire, England See also *Nizhny Nizhny (russian: Ни́жний; masculine), Nizhnyaya (; feminine), or Nizhneye (russian: Ни́ ...
and
upper case Letter case is the distinction between the 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 languages. The writing ...
, respectively.


Fiction

The slash is used in fan fiction to mark the romantic pairing a piece will focus upon (e.g., a K/S denoted a '' Star Trek'' 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), a usage which developed in the 1970s from the earlier friendship pairings marked by ampersands (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, &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 c ...
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 as an alternative to writing out specific
notes Note, notes, or NOTE may refer to: Music and entertainment * Musical note, a pitched sound (or a symbol for a sound) in music * ''Notes'' (album), a 1987 album by Paul Bley and Paul Motian * ''Notes'', a common (yet unofficial) shortened versio ...
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 ( ...
either in place of or in combination with traditional notation and for drummers 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 A spare tire (or stepney in some countries) is an additional tire (or tyre - s ...
(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). A pair of slashes is sometimes used as a way to mark italic text, 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 ?\. Epiglott ...
, as in :wikt:/ameeni, /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 Slash (punctuation)#Poetry, representing the start of a new line when quoting verse, or a new paragraph when quoting prose. ''The Chicago Manual of Style'' also allows spaces when either of the separated items is a compound that itself includes a space: "Our New Zealand / Western Australia trip". (Compare Dash#Attributive compounds, 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 with the decimal code 47 or hexadecimal, 0x2F. The same value was used in Unicode, which calls it "solidus" and also adds some more characters: * * * * * * * * (Halfwidth and fullwidth forms, fullwidth version of solidus) * In XML and HTML, the slash can also be represented with the List of XML and HTML character entity references#Character reference overview, character entity   or the numeric character reference   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 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 INTERCAL. 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 International Standards Organization, ISO and Unicode Consortium, Unicode. 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, (; ) 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, oblique stroke, used in telegraphy.. 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 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 anglicization, anglicized 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, 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, 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