Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Slash (punctuation)
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Usage== ===Disjunction and conjunction <span class="anchor" id="OR"></span><span class="anchor" id="XOR"></span>=== ====Connecting alternatives <span class="anchor" id="Gender neutrality"></span><span class="anchor" id="Gender-neutrality"></span>==== {{see also|Gender neutrality in languages with grammatical gender}} The slash is commonly used in many languages as a shorter substitute for the [[Conjunction (grammar)#Coordinating conjunctions|conjunction]] "or", typically with the sense of [[exclusive or]] (e.g., Y/N permits yes or no but not both).<ref name="solidhart">{{cite book |contribution=Solidi and verticals |at=4.13 |title=New Hart's Rules: The Oxford Style Guide |edition=2nd |editor-first=Anne |editor-last=Waddingham |date=2014 |publisher=Oxford University Press}}</ref> Its use in this sense is somewhat informal,<ref name="cms104">{{cite book |title=[[The Chicago Manual of Style]] |edition=16th |publisher=[[University of Chicago Press]] |date=2016 |at=6.104}}</ref> although it is used in [[philology]] to note variants (e.g., ''virgula/{{not a typo|uirgula}}'') and [[etymology|etymologies]] (e.g., [[French language|F.]] {{lang|fr|virgule}}/[[Late Latin|LL]]. {{lang|la|virgula}}/[[Classical Latin|L.]] {{lang|la|virga}}/[[Proto-Indo-European|PIE]]. ''{{PIE|*wirgā}}'').<ref name="partridge" /> Such slashes may be used to avoid taking a position in [[Ethnonym|naming disputes]]. One example is the [[Terms for Syriac Christians|Assyrian naming dispute]], which prompted the [[US census|US]] and [[Swedish census]]es 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]] in place of the traditional [[He (pronoun)|masculine]] or [[singular they|plural]] gender neutrals. In the case of [[English language|English]], this is usually restricted to [[Gender-specific and gender-neutral pronouns|degendered pronouns]] such as "he/she" or "s/he". Most other [[Indo-European languages]] include more far-reaching use of [[grammatical gender]]. In these, the separate gendered [[desinence]]s (grammatical suffices) of the words may be given divided by slashes or set off with [[parentheses]]. For example, in [[Spanish language|Spanish]], {{lang|es|hijo}} is a son and a {{lang|es|hija}} is a daughter; some proponents of gender-neutral language advocate the use of {{lang|es|hijo/a}}, {{lang|es|hijo(a)}} or {{lang|es|hija/hijo}} when writing for a general audience or addressing a listener of unknown gender.<ref>{{cite book |last1=Cunha |first1=Celso |last2=Cintra |first2=Lindley |date=2001 |title=Nova Gramática do Português Contemporâneo |edition=3rd |location=Rio de Janeiro |publisher=Nova Fronteira |isbn=8520911374 |language=pt}}</ref><ref>{{cite web |url=http://numpol.com/br/pdf/2II.pdf |title=Coleção Números Polêmicos |url-status=dead |archive-url=https://web.archive.org/web/20110714220702/http://numpol.com/br/pdf/2II.pdf |archive-date=14 July 2011 |access-date=29 July 2012 |language=pt |work=NumPol.com}}</ref><ref>{{cite web |first=Robson |last=Fernando de Souza |url=http://conscienciaefervescente.blogspot.com/2009/08/proposta-do-portugues-com-inclusao-de.html |archive-url=https://archive.today/20120709055953/http://conscienciaefervescente.blogspot.com/2009/08/proposta-do-portugues-com-inclusao-de.html |url-status=dead |archive-date=9 July 2012 |title=A proposta do Português com Inclusão de Gênero |work=Consciência Efervescente |date=27 February 2004 |access-date=24 July 2012 |language=pt}}</ref> Less commonly, [[At sign#Gender neutrality in Spanish|at sign]] {{angle brackets|@}} is used instead: {{lang|es|hij@}}. Similarly, in [[German language|German]] and some Scandinavian and Baltic languages, {{lang|de|Sekretär}} refers to any secretary and {{lang|de|Sekretärin}} to an explicitly female secretary; some advocates of gender neutrality support forms such as {{lang|de|Sekretär/-in}} for general use. This does not always work smoothly, however: problems arise in the case of words like {{lang|de|Arzt}} ('doctor') where the explicitly female form {{lang|de|Ärztin}} is [[umlaut (diacritic)|umlauted]] and words like {{lang|de|Chinese}} ('Chinese person') where the explicitly female form {{lang|de|Chinesin}} loses the terminal ''-e''. Although not as common as [[brackets]], slashes can also be used for [[Uncertain plural|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 <span class="anchor" id="And"></span>==== The slash is also used as a shorter substitute for the conjunction "and" or [[inclusive or]] (i.e., A or B or both),<ref name="cms104" /> 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]] inclusive of the people around and affected by both [[Ernest Hemingway|Hemingway]] and [[William Faulkner|Faulkner]]. This use is sometimes proscribed, as by ''[[New Hart's Rules]]'', the style guide for the [[Oxford University Press]].<ref name="solidhart" /> ====Presenting routes==== The slash, as a form of inclusive or, is also used to punctuate the stages of a route (e.g., [[Shanghai]]/[[Nanjing]]/[[Wuhan]]/[[Chongqing]] as stops on a tour of the [[Yangtze River|Yangtze]]).<ref name="partridge" /> ==== 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.<ref>{{cite web |url=http://chronicle.com/blogs/linguafranca/2013/04/24/slash-not-just-a-punctuation-mark-anymore/ |title=Slash: Not Just a Punctuation Mark Anymore |at="Lingua Franca" column |work=The Chronicle of Higher Education |last1=Curzan |first1=Anne |url-status=live |archive-url=https://web.archive.org/web/20131029193330/http://chronicle.com/blogs/linguafranca/2013/04/24/slash-not-just-a-punctuation-mark-anymore/ |archive-date=29 October 2013 |date=24 April 2013}}</ref> ====In speech==== Sometimes the word ''slash'' is used in speech as a [[conjunction (grammar)|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,<ref>{{Cite web |url=https://www.youtube.com/watch?v=SxHrqCxjP2U |title=YouTube video: "''Back Like I Never Left - Jourdan River Vacation House Hive Removal''" |website=[[YouTube]] |access-date=27 January 2020 |archive-date=21 February 2020 |archive-url=https://web.archive.org/web/20200221221033/https://www.youtube.com/watch?v=SxHrqCxjP2U&gl=US&hl=en |url-status=live}}</ref> 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),<ref>[https://www.youtube.com/watch?v=qybW0QLxQEg YouTube video "Drone laying hive building up and getting new equipment"] {{Webarchive|url=https://web.archive.org/web/20200403045141/https://www.youtube.com/watch?v=qybW0QLxQEg&gl=US&hl=en |date=3 April 2020}} at time 9:16</ref> and "''[[Gastornis]]'' slash ''[[Diatryma]]''" for two supposed genera of prehistoric birds which are now thought to be one genus.<ref>{{Cite web |url=https://www.youtube.com/watch?v=amUhDAyYvkY |title=The Terror Duck - Gastornis at time 5:30 |website=[[YouTube]] |access-date=20 October 2020 |archive-date=6 November 2020 |archive-url=https://web.archive.org/web/20201106005559/https://www.youtube.com/watch?v=amUhDAyYvkY |url-status=live}}</ref> === Mathematics <span class="anchor" id="Arithmetic"></span><span class="anchor" id="Fraction"></span><span class="anchor" id="Ratio"></span><span class="anchor" id="Ratios"></span><span class="anchor" id="Math"></span><span class="anchor" id="Maths"></span>=== ==== Fractions ==== The slash is used between two numbers to indicate a [[fraction]] or [[ratio]]. Such formatting developed as a way to write the horizontal [[fraction bar]] on a single line of text. It is first attested in [[Kingdom of England|England]] and [[Viceroyalty of Mexico|Mexico]] in the 18th century.<ref name="jeff">{{cite web |last=Miller |first=Jeff |title=Fractions |url=http://jeff560.tripod.com/fractions.html |work=Earliest Uses of Various Mathematical Symbols |via=Tripod.com |date=22 December 2014 |access-date=15 February 2016 |url-status=live |archive-url=https://web.archive.org/web/20230602010313/https://jeff560.tripod.com/fractions.html |archive-date=2 June 2023}}</ref> This notation is known as an online, solidus,<ref name="Eckersley et al">{{cite book |last1=Eckersley |first1=Richard |last2=Angstadt |first2=Richard |last3=Ellertson |first3=Charles M. |last4=Hendel |first4=Richard |last5=Pascal |first5=Naomi B. |last6=Walker Scott |first6=Anita |title=Glossary of Typesetting Terms |publisher=University of Chicago Press |date=1994 |ref={{harvid|Eckersley & al.|1994}} |isbn=0226183718 |pages=[https://books.google.com/books?id=oeTnynRiN8AC&pg=PA93 93], [https://books.google.com/books?id=oeTnynRiN8AC&pg=PA97 97]}}</ref> or shilling fraction.<ref name="Eckersley et al" /> Nowadays fractions, unlike inline division, are often given using smaller numbers, [[superscript]], and [[subscript]] (e.g., {{sup|23}}/{{sub|43}}). This notation is responsible for the current form of the [[percent sign|percent]] {{char|%}}, [[permille]] {{char|‰}}, and [[permyriad]] {{char|‱}} signs, developed from the horizontal form {{sfrac|0|0}} which represented an early modern corruption of an Italian abbreviation of ''per cento''.<ref>{{cite book |last=Smith |first=D. E. |title=Rara Arithmetica |date=1908 |location=Boston |publisher=Ginn & Co. |url= https://archive.org/details/67224711 |via=Internet Archive}}</ref> [[File:123 fraction slash 456.svg|thumb|A fraction automatically generated by the font from basic digits and the Unicode fraction bar, 123⁄456.]] Unicode provides for a dedicated fraction slash {{char|⁄}} that is distinct from the ASCII solidus {{char|/}}. 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 {{notatypo|"½"}}, and similarly "123, fraction slash, 456" as "123⁄456").<ref>{{cite book |title=The Unicode Standard |edition=6.0 |page=192 |chapter=Writing Systems and Punctuation: General Punctuation: Fraction Slash |chapter-url=https://www.unicode.org/versions/Unicode6.0.0/ch06.pdf#G12861 |date=2011 |isbn=9781936213016 |editor1-first=Julie D. |editor-last=Allen |ref={{harvid|Unicode|2011}} |publisher=Unicode Consortium |access-date=30 May 2018 |archive-date=30 July 2015 |archive-url=https://web.archive.org/web/20150730233934/http://www.unicode.org/versions/Unicode6.0.0/ch06.pdf#G12861 |url-status=live}}</ref> This is supported by an increasing number of environments and [[computer font]]s. Because support is not yet universal, some authors still use [[Unicode subscripts and superscripts#Uses|Unicode subscripts and superscripts]] to compose fractions, and many computer fonts design these characters for this purpose. In addition, [[precomposed character|precomposed fractions]] of the multiples less than 1 of {{sup|1}}/{{sub|n}} for 2 ≤ n ≤ 6 and n = 8 (e.g. {{notatypo|⅔}} and {{notatypo|⅝}}, as well as {{notatypo|⅐}}, {{notatypo|⅑}}, and {{notatypo|⅒}}, are found in the Unicode [[Number Forms]] or [[Latin-1 Supplement (Unicode block)|Latin-1 Supplement]] blocks.<ref>{{cite web |work=The Unicode Standard |edition=12.1 |publisher=Unicode Consortium |title=Number Forms |date=2019 |url=https://unicode.org/charts/PDF/U2150.pdf |access-date=22 November 2019 |archive-date=24 November 2019 |archive-url=https://web.archive.org/web/20191124140205/http://unicode.org/charts/PDF/U2150.pdf |url-status=live}}</ref> 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]]. ==== Division <span class="anchor" id="division"></span>==== The division slash {{char|∕}} is used between two numbers to indicate [[division (math)|division]].{{efn|The [[ISO 80000]] standard says that the [[division sign]] {{char|÷}}, used in elementary schools in many [[Anglophone]] countries, "should not be used" to indicate division because in other countries it is used to indicate a range of values or negation.<ref name=ISO>ISO 80000-2, Section 9 "Operations", 2-9.6</ref>}} This use developed from the [[fraction slash]] in the late 18th or early 19th century.<ref name="jeff" /> The formatting was advocated by [[Augustus De Morgan|De Morgan]] in the mid-19th century.<ref>{{cite book |last=De Morgan |first=Augustus |author-link=Augustus De Morgan |contribution=The Calculus of Functions |title=Encyclopædia Metropolitana |date=1845 |location=London |publisher=B. Fellowes et al.}}</ref>{{full citation needed|date=September 2023|reason=Volume and page number needed.}},<ref name="DeM">{{cite web |last1=Morgan |first1=Augustus De |title=A Treatise on the Calculus of Functions (Extracted From The Encyclopædia Metropolitana) |url=https://www.google.com/books/edition/A_Treatise_on_the_Calculus_of_Functions/GoM_AAAAcAAJ?hl=en&gbpv=1&pg=PA84&printsec=frontcover&dq=division |publisher=Baldwin and Cradock |language=en |date=1836}} Page 84 in this version</ref> who wrote: :The occurrence of fractions, such as {{sfrac|a|b}}, {{sfrac|a+b|c+d}}, in the <!-- the previous two words are difficult to decipher in the scan, but it's hard to imagine them being anything beside these two words --> 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.<ref name="DeM" /> <!-- (The proceeding is an interesting elaboration on the same theme, but probably too much detail for this one topic on this encyclopedia page:) --><!-- :A complicated exponent might be avoided by the use of the symbol λ⁻¹. The student would soon learn to consider λ⁻¹{(a+bx)/(c+ex)×λa} as meaning the same thing as <center><math>a^{\frac{a+bx}{c+ex}}</math>.</center> :If, in the course of investigation, some plan of this kind be not adopted, the expense of printing will place a limit to analysis. A work entirely devoted to the consideration of such expressions as the preceding might easily be doubled in size and price by the frequent occurrence of them in the text, or else rendered confused and unintelligible by successive abbreviations. Considering, however, that λ is an inverse symbol in the sense of (124.), and λ⁻¹ a direct one, it would, perhaps, rather be advisable that some method of denoting an exponent should be adopted which does not raise the exponent above the symbol of the root. Either of the following might be proposed, the defect of them all being that they are not derived from analogy: :<center>a Λ {(a+bx)/(c+ex)} a:{(a+bx)/(c+ex)},</center> :or the like. But we do not advocate the introduction of these into purely symbolical expressions, any more than in the former case. --> ==== Quotient of set ==== {{see also|Set (mathematics)}} 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 <math>S / R</math> (sometimes even as a built fraction), where the numerator <math>S</math> 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]] <math>\sim</math> on the original set <math>S</math>, and elements are to be identified in the quotient <math>S/{\sim}</math> if they are equivalent according to <math>\sim</math>; this is technically achieved by making <math>S/{\sim}</math> the set of all [[equivalence class]]es of <math>\sim</math>. In [[group theory]], the slash is used to mark [[quotient group]]s. The general form is <math>G/N</math>, where <math>G</math> is the original group and <math>N</math> is the normal subgroup; this is read "<math>G</math> mod <math>N</math>", where "mod" is short for "[[modulo operation|modulo]]". Formally this is a special case of quotient by an equivalence relation, where <math>g \sim h</math> iff <math>g = hn</math> for some <math>n \in N</math>. Since many algebraic structures ([[Ring (mathematics)|ring]]s, [[vector space]]s, etc.) in particular are groups, the same style of quotients extend also to these, although the denominator may need to satisfy additional [[Closure (mathematics)|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 (ring theory)|ideal]]). When the original set is the set of [[integer]]s <math>\mathbb{Z}</math>, the denominator may alternatively be just an integer: <math>\mathbb{Z}/n</math>. This is an alternative notation for the set <math>\mathbb{Z}_n</math> of [[modular arithmetic#Integers modulo m|integers modulo ''n'']] (needed because <math>\mathbb{Z}_n</math> is also notation for the very different [[P-adic number|ring of ''n''-adic integers]]). <math>\mathbb{Z}/n</math> is an abbreviation of <math>\mathbb{Z}/n\mathbb{Z}</math> or <math>\mathbb{Z}/(n)</math>, 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 [[binary relation|relation]] negates it, producing e.g. 'not equal' <math>\neq</math> as negation of <math>=</math> or 'not in' <math>\notin</math> as negation of <math>\in</math>; 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 <math>\nmid</math> of <math>\mid</math> (divides) and negation <math>\nsim</math> of <math>\sim</math> (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 [[gamma matrix|Dirac gamma matrices]], so <math>A\!\!\!/ = \gamma^\mu A_\mu</math>; what one gains is not only a more compact formula, but also not having to allocate a letter as the contracted index. ===Computing=== The slash, sometimes distinguished as "forward slash", is used in [[computing]] in a number of ways, primarily as a separator among levels in a given hierarchy, for example in the path of a filesystem. ====File paths==== The slash is used as the [[path (computing)|path]] component separator in many [[computer]] operating systems (e.g., Unix's {{mono|pictures/image.png}}). In [[Unix]] and [[Unix-like]] systems, such as [[macOS]] and [[Linux]], the slash is also used for the [[volume (computing)|volume]] [[root directory]] (e.g., the initial slash in {{mono|/usr/john/pictures}}). Confusion of the slash with the backslash {{angle brackets|\}} largely arises from the use of the latter as the path component separator in the widely used MS-DOS and [[Microsoft Windows]] systems.<ref name="jed" /><ref name="turton" /> ====Networking==== The slash is used in a similar fashion in internet [[Uniform Resource Locator|URLs]] (e.g., {{mono|<nowiki>https://en.wikipedia.org/wiki/Slash_(punctuation)</nowiki>}}).<ref name="solidhart" /> Often this portion of such URLs corresponds with files on a Unix [[computer server|server]] with the same name, and this is where this convention for [[internet]] URLs comes from. The slash in an [[IP address]] (e.g., {{mono|192.0.2.0/29}}) indicates the prefix size in [[CIDR notation]]. The number of addresses of a [[Subnetwork|subnet]] may be calculated as 2{{sup|address size − prefix size}}, in which the address size is 128 for [[IPv6]] and 32 for [[IPv4]]. For example, in IPv4, the prefix size/29 gives: 2{{sup|32–29}} = 2{{sup|3}} = 8 addresses. ====Programming==== The slash is used as a [[#Division|division operator]] in most [[programming language]]s while [[APL (programming language)|APL]] uses it for reduction ([[Fold (higher-order function)|fold]]) and compression ([[Filter (higher-order function)|filter]]). The double slash is used by [[Rexx]] as a [[#Mod|modulo operator]], and [[Python (programming language)|Python]] (starting in version 2.2) uses a double slash for division which rounds (using [[Floor and ceiling functions|floor]]) to an integer. In [[Raku (programming language)|Raku]] the double slash is used as a "defined-or" alternative to '''||'''. A dot and slash {{angle brackets|./}} is used in [[MATLAB]] and [[GNU Octave]] to indicate an element-by-element division of matrices. [[comment (computer programming)|Comments]] that begin with {{mono|'''/*'''}} (a slash and an asterisk) and end with {{mono|'''*/'''}} were introduced in [[PL/I]] and subsequently adopted by [[SAS System|SAS]], [[C (programming language)|C]], Rexx, [[C++]], [[Java (programming language)|Java]], [[JavaScript]], [[PHP]], [[Cascading Style Sheets|CSS]], and [[C Sharp (programming language)|C#]]. A double slash {{mono|'''//'''}} is also used by [[C99]], C++, C#, PHP, Java, [[Swift (programming language)|Swift]], [[Pascal (programming_language)|Pascal]] and JavaScript to start a single line comment. In [[SGML]] and derived languages such as [[HTML]] and [[XML]], a slash is used in closing tags. For example, in HTML, {{mono|<b>}} begins a section of {{strong|bold}} text and {{mono|</b>}} closes it. In XHTML, slashes are also necessary for "self-closing" elements such as the [[newline]] command {{nowrap|{{mono|<br />}}}} where HTML has simply {{nowrap|{{mono|<br>}}}}. In a style originating in the [[Digital Equipment Corporation]] line of operating systems ([[OS/8]], [[RT-11]], [[TOPS-10]], et cetera), [[Windows (operating system)|Windows]], [[DOS]], some [[CP/M]] programs, [[OpenVMS]], and [[OS/2]] all use the slash to indicate [[command-line option]]s. For example, the command {{mono|dir/w}} is understood as using the command [[dir (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]]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==== [[Internet Relay Chat|IRC]] 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, {{mono|/join #services}} is a command to join the [[IRC channels|channel]] "services" and {{mono|/me}} is a command to format the following message as though it were an action instead of a spoken message. In ''[[Minecraft]]''{{'}}s chat function, the slash is used for executing console and plugin commands. In ''[[Second Life]]''{{'}}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 (software)|Discord]], slash commands are used to send special messages and execute commands, like sending a [[shrug|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#Active state|active-low]] digital signal, which performs the named function when at a low voltage level.<ref>{{cite news |title=RAM Guide: Part I DRAM and SRAM Basics |first=Jon "Hannibal" |last=Stokes |date=June 2008 |journal=[[Ars Technica]] |page=3 |url=https://archive.arstechnica.com/paedia/r/ram_guide/ram_guide.part1-3.html |quote=Putting a "/" in front of the pin name is the standard text way of writing it with a line over it. The "/" or line signifies that the pin is activated by a low voltage, or logic 0.}}</ref> For example, [[dynamic random-access memory]] has active-low Chip Select, Row Address Strobe and Column Address Strobe signals, commonly written {{nobr|/CS}}, {{nobr|/RAS}}, and {{nobr|/CAS}}.<ref>{{cite tech report |type=Data sheet |page=5 |title=512Mb DDR SDRAM HY5DU12422A(L)T, HY5DU12822A(L)T, HY5DU121622A(L)T |publisher=Hynix |date=February 2003 |url=https://www.intel.com/content/dam/www/public/us/en/documents/datasheets/hynix-hy5du12822at-d43-datasheet.pdf#page=5}}</ref> This extends to signals which select between two options, such as "{{nobr|R/W}}", which indicates that the function is "read" when high and "write" when low. (Sometimes written as {{nobr|R/{{overline|W}}}} for greater clarity.<ref>{{cite tech report |type=Class Notes |title=EE 308: Address, Data and Control Buses) |first=Bill |last=Rison |date=7 April 2010 |page=5 |url=http://www.ee.nmt.edu/~rison/ee308_spr10/supp/100407.pdf#page=5 |access-date=2024-11-25 |quote=It brings the Read/Write (R/{{overline|W}}) line low to indicate a write}}</ref> ===Currency=== {{main|Shilling}} [[File:038 35 Kisoro, 2000 constructed under swTws Project (7928190604).jpg|thumb|Sign in [[Kisoro]] with prices in [[Ugandan shilling]]s; note the use of the '/=' notation.]] The slash (as the "shilling mark" or "solidus")<ref name="Fowler solidus">{{Cite dictionary |last=Fowler |first=Francis George |url=https://archive.org/details/conciseoxforddic00fowlrich/page/829/mode/1up |title=The Concise Oxford Dictionary of Current English |entry=solidus |date=1917 |page=829 |via=Internet Archive |quote='''sǒ·lidus''', n. (pl. -di). (Hist.) gold coin introduced by Roman Emperor Constantine; (only in abbr. ''s.'') shilling(s), as 7s. 6d., £1 1s.; the shilling line (for ſ or long s) as in 7/6. [LL use of L {{small|SOLID}}us]}}</ref> was an abbreviation for the [[shilling]], a former [[coin]] of the United Kingdom and [[Commonwealth of Nations|its former colonies]]. Before the [[Decimal Day|decimalisation of currency in Britain]], its currency abbreviations (collectively [[£sd]]) represented their [[Latin]] names, derived from a [[French livre|medieval French modification]] of the late [[Ancient Roman units of measurement#Mass and coins|Roman libra]], [[solidus (coin)|solidus]], and [[denarius]].<ref>{{cite journal |title=Money in Shakespeare |last=Ojima |first=Fumita |publisher=[[Toyo University]] Press |issue=63 |journal=Journal of Business Administration |oclc=835683007 |page=113 |date=November 2004 |url=http://www.toyo.ac.jp/uploaded/attachment/2890.pdf |issn=0286-6439 |access-date=10 June 2014 |url-status=live |archive-date=10 June 2014 |archive-url=https://web.archive.org/web/20140610101123/http://www.toyo.ac.jp/uploaded/attachment/2890.pdf}} See also [[Carolingian monetary system]].</ref> Thus, one [[penny]] less than two [[pound sterling|pounds]] was written {{nowrap|£1 19s 11d}} or {{nowrap|£1 19ſ 11d.}} During the period when [[English orthography]] included the [[long s]], {{char|ſ}} or ''{{serif|{{char|ſ}}}}'', (abbreviating ''shilling'') the ſ came to be written as a single slash.<ref>{{cite book |title=[[The Chicago Manual of Style]] |edition=13th |publisher=[[University of Chicago Press]] |date=1982 |page=676}}</ref><ref>{{cite book |title=[[Scientific Style and Format]]: The CBE Manual for Authors, Editors, and Publishers |date=1994 |page=65 |publisher=[[Cambridge University Press]] |bibcode=1994ssfc.book.....S}}</ref> The d. might be omitted, and "2ſ6" ("two shillings and sixpence") became simplified as 2/6.<ref name="Fowler solidus" /> 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).<ref>{{cite web |publisher=University of Nottingham |title=Manuscripts and special Collections: Money |url=https://www.nottingham.ac.uk/manuscriptsandspecialcollections/researchguidance/weightsandmeasures/money.aspx |access-date=28 November 2021 |archive-date=12 March 2014 |archive-url=https://web.archive.org/web/20140312080731/http://www.nottingham.ac.uk/manuscriptsandspecialcollections/researchguidance/weightsandmeasures/money.aspx |url-status=live}}</ref> The same style was also used under the [[British Raj]] and early independent India for the predecimalization [[Indian rupee|rupee]]/[[Indian anna|anna]]/[[Indian pie|pie]] system.<ref>{{cite web |url=http://std.dkuug.dk/jtc1/sc2/wg2/docs/n3367.pdf |date=7 October 2007 |archive-date=9 May 2012 |archive-url=https://web.archive.org/web/20120509233828/http://std.dkuug.dk/jtc1/sc2/wg2/docs/n3367.pdf |url-status=live |title=Proposal to Encode North Indic Number Forms in ISO/IEC 10646 |last=Pandey |first=Anshuman |publisher=[[University of Michigan]] |page=8}}</ref> In five East African countries ([[Kenya]], [[Tanzania]], [[Uganda]], [[Somalia]], and the ''de facto'' country of [[Somaliland]]), where the national currencies are denominated in shillings, the [[decimal separator]] is a slash mark (e.g., {{shilingi|2|50}}). Where the minor unit is zero, an [[equals sign]] is used (e.g., 5/=). ===Dates <span class="anchor" id="Dating"></span>=== Slashes are a common [[calendar date]] separator<ref name="solidhart" /> used [[Date format by country|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.<ref>{{cite book |title=[[The Chicago Manual of Style]] |edition=16th |publisher=[[University of Chicago Press]] |date=2016 |at=6.106}}</ref> Because of the world's many varying [[Date and time notation by country|conventional date and time formats]], [[ISO 8601]] 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.<ref name="solidhart" /> "24/25 December" would mark the time shared by both days (i.e., the night from [[Christmas Eve]] to [[Christmas Day|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,<ref>{{cite book |title=[[The Chicago Manual of Style]] |edition=16th |publisher=[[University of Chicago Press]] |date=2016 |at=6.105}}</ref> whereas a reference to 1066–67 would cover the entirety of both years. The usage was particularly common in British English during [[World War II]], where such slash dates were used for [[night-bombing]] [[strategic 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 [[#Dating|ISO treatment of dating]]. Another is the [[US Air Force]]'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=== {{main|International Phonetic Alphabet#Brackets and transcription delimiters}} A pair of slashes (as "[[#slants|slants]]") are used in the [[Transcription (linguistics)|transcription]] of [[speech]] to enclose [[pronunciation]]s (i.e., [[phonetic transcription]]s). For example, the [[International Phonetic Alphabet|IPA]] transcription of the English pronunciation of "solidus" is written {{IPA|/ˈsɒlɪdəs/}}.<ref name="oedsolid" /> Properly, slashes mark [[phonemic transcription|broad or phonemic transcriptions]], whereas narrow, [[allophone|allophonic]] transcriptions are enclosed by [[square bracket]]s. For example, the word ''little'' may be broadly rendered as {{IPA|/ˈlɪtəl/}} but a careful transcription of the [[dark L|velarization of the second L]] would be written {{IPA|[ˈlɪɾɫ̩]}}. In [[sociolinguistics]], a double or triple slash may also be used in the transcription of a [[Sociolinguistics#Sociolinguistic interview|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]]s [[ǀ]], [[ǁ]]. A [[diaphoneme|diaphonemic]] transcription may be marked in several ways, e.g. with a pair of slash marks ({{IPA //|◌}}). ===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.{{cn|date=October 2024}} ===Line breaks=== The slash (as a "virgule") offset by spaces to either side is used to mark [[Line (poetry)|line breaks]] when transcribing text from a multi-line format into a single-line one.<ref name="solidhart" /><ref>{{cite book |title=[[The Chicago Manual of Style]] |edition=16th |publisher=[[University of Chicago Press]] |date=2016 |at=13.27}}</ref> It is particularly common in quoting [[poetry]], [[lyrics|song lyrics]], and [[drama]]tic scripts, formats where omitting the line breaks risks losing meaningful context. For example, here is a part of [[Hamlet]]'s [[soliloquy]]: {{poemquote| [[To be, or not to be]], 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...|''[[Hamlet]]'', Act II, Scene ii<ref>{{cite book |last=Shakespeare |first=William |author-link=William Shakespeare |author-mask=Shakespeare |title=[[Hamlet]] |at=Act III, Scene II}}</ref>}}{{full citation needed|date=September 2023|reason=Cite a specific edition and page number.}} If someone wanted to quote the above [[soliloquy]] in a prose paragraph, it is standard to mark the line breaks as follows: "To be, or not to be, that is the {{nowrap|question: /}} Whether 'tis nobler in the mind to {{nowrap|suffer /}} The slings and arrows of outrageous {{nowrap|[[Fortune (goddess)|Fortune]], /}} Or to take arms against a sea of {{nowrap|troubles, /}} And by opposing end them..." Less often, virgules are used in marking [[paragraph]] breaks when quoting a [[prose]] passage. Some style guides, such as ''[[New Hart's Rules|New Hart's]]'', prefer to use a pipe {{char|{{!}}}} in place of the slash to mark these line and paragraph breaks.<ref name="solidhart" /> 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 [[widows and orphans|widowed]] on the next line. ===Abbreviation <span class="anchor" id="Derived units"></span>=== The slash has become standard in several abbreviations. Generally, it is used to mark two-letter [[initialism]]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]]"), 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]] (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.<ref name="solidhart" /> The slash in [[derived unit]]s such as m/s (meters per second) is not an abbreviation slash, but a straight division. It is however in that position read as 'per' rather than e.g. 'over', which can be seen as analogous to units whose symbols are pure abbreviations such as mph (miles per hour), although in abbreviations 'per' is 'p' or dropped entirely (psi, pounds per square inch) rather than a slash.<!-- Negative example because previous content erroneously claimed the opposite. --> In the [[Government of the United States|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]]'s [[Office of Commercial Space Transportation]] is formally abbreviated FAA/AST. ===Proofreading=== The slash or vertical bar (as a "[[#separatrix|separatrix]]") is used in [[proofreading]] to mark the end of [[marginalia|margin notes]]{{efn|For an example of this in practice, see the section on proofreading marks in ''[[New Hart's Rules]]''.<ref>{{cite book |contribution=Marking Proofs |at=2.4 |title=New Hart's Rules: The Oxford Style Guide |edition=2nd |editor-first=Anne |editor-last=Waddingham |date=2014 |publisher=Oxford University Press}}</ref>}} or to separate margin notes from one another. The slash is also sometimes used in various proofreading [[#Abbreviation|initialisms]], such as l/c and u/c for changes to [[lower case|lower]] and [[upper case]], 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".<ref>{{cite web |title=How to Indicate a Typist's Initials in a Letter |first=Kristen |last=Hamlin |date=7 August 2017 |website=Pen and the Pad |url=https://penandthepad.com/how-8450891-indicate-typists-initials-letter.html |access-date=2024-11-24}}</ref> ===Fiction=== The slash is used in [[fan fiction]] to mark the [[sexual attraction|romantic pairing]] a piece will focus upon (e.g., a K/S denoted a ''[[Star Trek]]'' story would focus on a sexual relationship between [[James T. Kirk|Kirk]] and [[Spock]]), a usage which developed in the 1970s from the earlier friendship pairings marked by [[ampersand]]s (e.g., K&S). The genre as a whole is now known as [[slash fiction]]. Because it is more generally associated with [[male homosexuality|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 [[AACR2|Anglo-American Cataloguing Rules]] to separate the title of a work from its statement of responsibility (i.e., the listing of its author, director, etc.). Like a [[#Line breaks|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 [videorecording] / Paramount Pictures. The format is used in both [[card catalog]]s and online records. ===Addresses=== The slash is sometimes used as an abbreviation for building numbers. For example, in some contexts,{{where?|date=February 2016}} 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]] as an alternative to writing out specific [[musical note|notes]] where it is easier to read than traditional notation or where the player can [[improvisation|improvise]]. They are commonly used to indicate [[chord (music)|chords]] either in place of or in combination with traditional notation, notably in the form of [[slash chord|slash chords]]. For [[drummer]]s, they find use as an indication to continue with a previously indicated style. ===Sports=== A slash is used to mark a [[Spare (bowling)|spare]] (knocking down all ten pins in two throws) when scoring [[ten-pin bowling|ten-pin]] and [[duckpin bowling]].<ref>{{cite web |url=http://www.duckpins.com/scoring.htm |title=Scoring Duckpin Bowling |website=Duckpins.com |url-status=live |archive-url=https://web.archive.org/web/20230408041355/http://www.duckpins.com/scoring.htm |archive-date=8 April 2023}}</ref> ===Text messaging <span class="anchor" id="Emoji"></span>=== 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 [[Sarcasm|sarcastic]]). A pair of slashes is sometimes used as a way to mark [[italics|italic text]], where no special formatting is available (e.g., /italics/).{{Citation needed|date=July 2021}} === 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.<ref>{{cite web |title=What Does /s/ Mean in a Signature and Why is It Used? |url=https://bizcounsel.com/articles/what-does-s-mean-in-signature |website=BizCounsel |publisher=L. & F. Brown |access-date=1 April 2023 |archive-date=1 April 2023 |archive-url=https://web.archive.org/web/20230401012555/https://bizcounsel.com/articles/what-does-s-mean-in-signature |url-status=live}}</ref> An example would be the following: {{Blockquote|text=/s/ Bob Smith<br>Attorney for Plaintiff}} ===As a letter <span class="anchor" id="Letter"></span>=== The [[Iraqw language]] of Tanzania uses the slash as a letter, representing the [[voiced pharyngeal fricative]], as in [[:wikt:/ameeni|/ameeni]], "woman".<ref>Henry R. T. Muzale, Josephat M. Rugemalira, ''Researching and Documenting the Languages of Tanzania'' (2008): "Iraqi orthography includes two letters not used in writing Kiswa-hili, q for the voiceless uvular stop, and x for the voiceless velar fricative. It also uses symbols that are not even part of the Roman alphabet, including a slash / for the pharyngeal fricative, and an apostrophe ' for the glottal stop (Mous et al. 2002)."</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)