Fact-checked by Grok 2 weeks ago

Vertical bar

The vertical bar, denoted by the glyph | (Unicode U+007C), is a straight vertical line character classified as a mathematical (Sm category) in the Standard, where it is officially named "Vertical Line." Also known by aliases such as or , it serves as a versatile mark and operator with prominent roles in , , and , often functioning as a , , or indicator of logical relationships. In , the vertical bar has multiple established notations that convey precise concepts. It denotes the of a number, as in |x|, representing the magnitude without regard to sign—for instance, |-3| = 3. It appears in to mean "such that," defining elements satisfying a condition, such as {x ∈ ℝ | x > 0}, the set of all . Additionally, it indicates in statistics, as P(A|B) for the probability of A given B, and divisibility between integers, where a|b means a divides b evenly. In and programming, the vertical bar functions as the pipe operator in operating systems, redirecting the output of one command as input to another—for example, cat file.txt | wc counts the words in a file by piping its contents. It also acts as a bitwise OR operator in languages like C/C++, performing binary operations on integers, and as part of the logical OR (||) for conditional statements. In regular expressions, a single | signifies alternation, matching one pattern or another, such as a|b for "a or b." Typographically, it appears as a in URLs, tables, or menus to divide elements clearly.

Mathematical and scientific notation

Mathematics

In , the vertical bar denotes , where a \mid b means that a divides b if there exists an k such that b = a k. This notation indicates that b is an multiple of a, without implying in the sense. For example, $2 \mid 4 holds because $4 = 2 \cdot 2, whereas $3 \nmid 4 since no such k exists. The symbol was introduced in unpublished notes from G. H. Hardy's 1925 seminar and first appeared in print in Edmund Landau's 1927 book Elementary Number Theory. In , the vertical bar represents , denoted as P(A \mid B), which is the probability that A occurs given that B has occurred, assuming P(B) > 0. This is defined as P(A \mid B) = \frac{P(A \cap B)}{P(B)}, where P(A \cap B) is the joint probability of both events. The formula derives from the axioms of probability in measure-theoretic terms, treating events as subsets of a ; specifically, it normalizes the measure of the intersection A \cap B by the measure of B, reflecting the restriction of the to outcomes in B. This notation, using the vertical bar for "given," became standardized in the mid-20th century following earlier variants like Kolmogorov's P_B(A) in 1933. The vertical bars also denote the absolute value of a real number x, written as |x|, which gives the distance of x from zero on the number line and is always non-negative. For x \geq 0, |x| = x; for x < 0, |x| = -x. This single-bar notation, adopted widely in the 20th century, replaced earlier uses of double bars \|x\| for magnitude in some contexts, particularly as linear algebra distinguished norms with double bars. The shift emphasized clarity in elementary contexts, as documented in historical surveys of mathematical symbols. In linear algebra, vertical bars enclose a square matrix to denote its determinant, so |A| = \det(A) for an n \times n matrix A. The determinant measures properties like invertibility and volume scaling under linear transformations. For a 2×2 matrix A = \begin{pmatrix} a & b \\ c & d \end{pmatrix}, the determinant is computed as |A| = ad - bc. For instance, if A = \begin{pmatrix} 3 & 1 \\ 2 & 4 \end{pmatrix}, then |A| = (3)(4) - (1)(2) = 12 - 2 = 10. This notation traces to Arthur Cayley's 1841 work, where double vertical lines were used, evolving to single bars as the standard by the late 19th century.

Chemistry

In chemistry, the vertical bar (|) serves as a delimiter in several notations, particularly in electrochemistry and phase representations, to indicate boundaries between different phases or components. A primary application is in the cell notation for electrochemical cells, where a single vertical bar denotes a phase boundary, such as between a solid electrode and its surrounding electrolyte solution. For instance, in the Daniell cell, the notation Zn | Zn²⁺ || Cu²⁺ | Cu represents the zinc anode in contact with zinc ions (separated by |), the salt bridge (||), and the copper cathode with copper ions (separated by |). This convention allows concise depiction of the cell's structure without drawing diagrams, with components listed from left to right across the cell. The double vertical bar (||) specifically indicates the salt bridge or a liquid junction with low resistance, distinguishing it from single bars for phase interfaces. The vertical bar also represents phase boundaries in broader chemical contexts, such as solubility equilibria or multi-phase systems. According to IUPAC recommendations, a single | separates immiscible phases, like in the notation for a gas-liquid interface (e.g., H₂(g) | H₂O(l)), while a dashed vertical bar (│) denotes junctions between miscible liquids, and || indicates immiscible liquid boundaries. This usage extends to phase diagrams, where vertical lines mark transitions, such as the solid | liquid boundary in a one-component diagram, helping to visualize regions of stability for each phase under varying temperature and pressure. The vertical bar has a limited role in SMILES (Simplified Molecular Input Line Entry System) notation for organic structures, primarily in extensions for annotations or stereochemistry. For example, in some parsers like RDKit, | delimits non-standard features such as lone pair specifications (e.g., O|lp for oxygen with a lone pair tag), though core SMILES uses / and \ for double-bond configurations like in trans-but-2-ene (C/C=C/C). This usage supports advanced molecular modeling but is not part of the basic Daylight SMILES specification.

Physics

In physics, the vertical bar denotes the magnitude of physical quantities, particularly vectors, distinguishing it from the vector's directional properties. For a velocity vector v, the speed is represented as |v|, yielding a scalar value that quantifies the object's motion without direction. This usage emphasizes the non-negative length of the vector in , as seen in kinematic equations where |r| gives displacement magnitude. Unlike abstract scalar norms in higher mathematics, the single vertical bars in physics conventionally apply the for three-dimensional vectors, ensuring compatibility with empirical measurements. A prominent application occurs in quantum mechanics through Dirac notation, where vertical bars define kets and contribute to bras. A quantum state is expressed as a ket |φ⟩, a column vector in , while its dual bra is ⟨ψ|, a row vector formed by the Hermitian conjugate. The inner product between states, ⟨ψ|φ⟩, computes the overlap integral, yielding a complex number whose magnitude squared gives the transition probability: \langle \psi | \phi \rangle = \int_{-\infty}^{\infty} \psi^*(x) \, \phi(x) \, dx This notation simplifies operator applications and expectation values, such as ⟨ψ|Ĥ|ψ⟩ for energy. Paul Dirac introduced this bra-ket formalism in 1939 to streamline quantum expressions, replacing cumbersome wave function integrals with abstract vector operations while preserving physical interpretability.

Computing and programming

Pipe operator

In Unix-like operating systems, the vertical bar serves as the pipe operator |, which redirects the standard output of a command on its left as the standard input to a command on its right, enabling the chaining of multiple processes in a data stream. This mechanism, known as shell piping, was conceived by and implemented in the third edition of Unix in 1973 by , following McIlroy's advocacy for linking programs to process streams efficiently. For example, the command ls | grep "file" lists directory contents and filters for lines containing "file", demonstrating how output flows seamlessly without manual file handling. Piping supports chaining of multiple commands, as seen in Bash with expressions like cat file.txt | sort | uniq, where the contents of a file are read, sorted alphabetically, and deduplicated in a single pipeline. PowerShell adopts a similar | operator for object-oriented pipelines, allowing cmdlets to process .NET objects directly; for instance, Get-Process | Where-Object {$_.CPU -gt 100} | Stop-Process retrieves processes, filters those using over 100 CPU units, and terminates them. This streaming approach enhances performance by avoiding the creation of intermediate files, reducing disk I/O overhead compared to temporary file-based workflows, though kernel-level buffering in pipes can introduce latency for very large datasets. Beyond shells, the pipe concept extends to programming languages for function composition. In Elixir, the |> operator chains functions by passing the result of the left expression as the first argument to the right, as in String.split("hello world", " ") |> Enum.map(&String.capitalize/1), which splits a and capitalizes each word. Similarly, R's magrittr package provides the %>% operator for forwarding values through a sequence of functions, exemplified by mtcars %>% subset(cyl == 6) %>% transform(mpg = mpg * 1.1), which filters a and modifies values in a readable pipeline.

Logical disjunction

The vertical bar | is used as a symbol for in some notations, particularly in and programming languages, representing the inclusive OR operation where the compound P | Q is true if at least one of P or Q is true, and false only if both are false. This operation is fundamental to and formal reasoning systems. The for the disjunction of two propositions P and Q using | is as follows: | P | Q | P | Q | |-------|-------|-------| | True | True | True | | True | False | True | | False | True | True | | False | False | False | This table illustrates the inclusive nature of the operation, where the result is true in three out of four cases. In programming languages, the vertical bar | is employed as a logical OR operator in certain contexts, notably in , where it evaluates to true if either operand is true, as defined in the language's standard prelude for expressions. For example, in , an expression like p | q combines two values, yielding true if at least one is true. This usage was introduced in the design of , ratified in , influencing subsequent languages' adoption of vertical bar variants for disjunctive logic. In contrast, many C-like programming languages, such as C and Java, distinguish between the single vertical bar | as a bitwise OR operator—which performs bit-by-bit disjunction on integer operands—and the double vertical bar || as the logical OR operator, which evaluates boolean conditions and supports short-circuit evaluation. For instance, in C, if (a | b) applies bitwise OR to the values of a and b before the conditional check, potentially evaluating both even if the first is nonzero, whereas if (a || b) uses logical OR and skips the second operand if the first is true. This distinction ensures bitwise operations handle numerical data efficiently while logical operations prioritize boolean semantics and performance in control flow.

String concatenation

In several programming languages and database query standards, the vertical bar serves as part of the double vertical bar operator (||), which is dedicated to , joining two or more or compatible expressions into a single string by appending them sequentially. This operator originated in early languages and has been standardized for clarity and . One of the earliest uses appears in , a developed in the by for mainframe computing, where || explicitly concatenates character, bit, or graphic s, potentially triggering implicit conversions to string types if operands are not already strings. For example, the expression NAME = FIRSTNAME || ' ' || LASTNAME; produces a full name by combining variables and a literal space. Similarly, in , a introduced by in for system automation, || performs concatenation on terms such as variables, literals, or expressions, with no implicit required as all values are treated as strings by default. The || operator is also the ANSI SQL standard for string concatenation across database systems like , , and Vertica, allowing the merging of column values, literals, and constants. For instance, SELECT first_name || ' ' || last_name AS full_name FROM employees; retrieves employee records with names joined by a , handling NULL values by propagating them to produce a NULL result if any is . This usage extends to other dialects, such as , where || replaces the non-standard + in some contexts for portability. A key advantage of || over the + —commonly used for arithmetic —is its explicit focus on strings, which mitigates type issues where mixing numeric and string operands could lead to unintended instead of . For example, in languages overloading + (like or early dialects), "1" + 2 might yield the string "12", but 1 + "2" could coerce to numeric resulting in 3, causing bugs in dynamic contexts; || enforces string handling without such ambiguity. This design choice promotes safer code in mixed-type expressions, as seen in and SQL where + remains reserved for numerics.

Delimiters and separators

In file URI schemes for Windows and DOS-derived systems, the vertical bar replaces the colon in drive letter specifications to comply with URI syntax rules, where the colon is reserved. For instance, the local path C:\Users\file.txt is represented as file:///C|/Users/file.txt. Certain APIs, especially those adhering to the OpenAPI Specification, support the pipeDelimited serialization style for query parameters, using the vertical bar to separate array or object values within a single parameter. An example is ?color=blue|black|brown, which specifies multiple color options. As an alternative to (CSV) files, pipe-delimited files—often called pipe-separated values (PSV)—use the vertical bar to separate fields, avoiding issues with comma-containing data. A typical record might appear as name|age|city, such as John Doe|30|New York. Government agencies like the U.S. Census Bureau employ this format for datasets, including geographic files. In regular expressions, the vertical bar functions as an alternation operator, enabling a pattern to match one of multiple specified alternatives. For example, cat|dog matches either "cat" or "dog" in a . To treat the vertical bar as a literal character rather than an operator, it requires escaping, commonly as \| in most regex engines.

Formal grammars

In formal grammars, the vertical bar serves as a key symbol for denoting alternatives within production rules, enabling concise descriptions of syntactic choices in context-free grammars. This usage originated with John Backus's notation for the report in 1959, where it separated possible expansions of non-terminals to precisely define the language's syntax. The notation was later refined and named Backus-Naur Form (BNF) by in the report, establishing it as a standard for specifying programming language grammars. In BNF, a production rule uses the vertical bar (|) to list mutually exclusive options following the double colon (::=) symbol. For instance, the syntax for a single digit can be expressed as <digit> ::= 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9, indicating that any one of these terminal symbols satisfies the non-terminal <digit>. This structure allows recursive definitions for complex constructs, such as arithmetic expressions: <expression> ::= <term> | <expression> + <term> | <expression> - <term>. Such rules underpin the grammars of many programming languages, including , where the official employs | to specify alternatives like statement ::= compound_stmt | simple_stmts. Extended Backus-Naur Form (EBNF) builds on BNF by retaining the vertical bar for alternatives while introducing additional operators, such as square brackets [] for optional elements and curly braces {} or asterisks * for repetition. For example, an EBNF rule for a comma-separated list might be <list> ::= <item> ("," <item>)*, with | used if multiple base forms for <item> are needed, like <item> ::= <number> | <string>. This extension enhances expressiveness without altering the core role of | in marking choices, and it appears in specifications for protocols and data formats. Graphical representations of s, known as or railroad diagrams, visualize alternatives through branching paths connected by vertical lines at points. These lines indicate where the parser selects one of several possible routes, mirroring the logical separation provided by | in textual BNF. For example, in a for a conditional statement, vertical lines might fork to paths representing "if-then" or "if-then-" structures. This visual aid complements textual notations, aiding comprehension of rules in definitions.

Concurrency and parallelism

In process calculi, the vertical bar symbolizes parallel composition, enabling the concurrent execution of independent processes. In the , introduced by , the notation P \mid Q represents the parallel execution of two processes P and Q, where they run independently unless they synchronize via complementary actions on shared channels. This is associative and commutative, allowing unrestricted interleaving of actions from P and Q, with the overall behavior emerging from their potential interactions. The pi-calculus, an extension of CCS developed by Milner, Parrow, and , employs the same vertical bar for parallel composition, but with enhanced mobility of channel names to model dynamic communication topologies. In P \mid Q, processes operate concurrently, and synchronization occurs only when an output action in one matches an input in the other along the same , facilitating scoped interactions without inherent coupling otherwise. The absence of additional operators with | underscores non-interacting parallelism, where processes evolve autonomously until explicit is possible. In hardware description languages like , the vertical bar serves as the bitwise OR operator within concurrent procedural blocks, contributing to parallel signal evaluations. For instance, in an always block such as always @(posedge clk) a <= b | c;, the assignment computes the OR of inputs b and c non-blockingly, with the block executing concurrently alongside other always or assign statements to model hardware simultaneity. This usage highlights how logical operations underpin concurrent behavior in digital designs, distinct from sequential control flow.

Array and language-specific uses

In array programming languages like APL and its successor J, the vertical bar denotes the dyadic residue function, which computes the remainder when the right argument is divided by the left argument, effectively implementing a modulo operation with the arguments in reverse order compared to many other languages. For instance, in APL, the expression 3 | 10 evaluates to 1, since 10 divided by 3 yields a quotient of 3 and a remainder of 1; this function extends element-wise to arrays, making it efficient for vectorized computations on numerical data. Monadic application of the vertical bar in APL returns the absolute value of its argument, further supporting array manipulations in mathematical contexts. J, as a modern dialect of APL designed for array processing, retains this usage of the vertical bar for residue, where m | n produces the residue of n modulo m, facilitating concise expressions for tasks like cyclic indexing or hashing in array operations. This operator aligns with J's emphasis on terse, high-performance array computations, often applied to entire matrices without explicit loops. In functional languages supporting list comprehensions, such as Haskell, the vertical bar separates the output expression and input generators from conditional guards, enabling readable filtering within declarative list constructions. For example, the comprehension [x^2 | x <- [1..10], even x] generates the squares of even numbers from 1 to 10, with the vertical bar delineating the guard even x that restricts the output. This syntax, borrowed from set-builder notation, promotes clarity in defining filtered arrays or lists. Similarly, in function definitions, vertical bars introduce guards for pattern-based dispatching, as in f x | x > 0 = x; | otherwise = -x, allowing without nested if-statements. Python, while supporting list comprehensions for array-like operations, does not utilize the vertical bar in this syntax; guards are instead prefixed with if, as in [x**2 for x in range(1,11) if x % 2 == 0]. Discussions in Python Enhancement Proposals have explored walrus-like assignment operators (e.g., :=) to enhance expressions within comprehensions, but no adoption of the vertical bar for such roles has occurred, avoiding overlap with its bitwise OR usage. In array contexts, the vertical bar can briefly reference string concatenation for joining array elements into delimited strings, though this is handled via methods like join rather than the operator itself.

Markup and formatting

In wiki markup languages, particularly MediaWiki used by projects like Wikimedia, the vertical bar (|) serves as a key delimiter for constructing tables. Tables begin with {| and end with |}, with rows separated by |- and cells defined by single or double pipes: a single | starts a new cell on a fresh line, while || separates multiple cells on the same line. For example, the syntax { | Orange || Apple | } renders as a simple two-column table row. This pipe-based syntax allows embedding complex wiki content within cells and supports attributes like classes (e.g., { | class="wikitable" | cell1 || cell2 | }), enabling styled tabular presentation without HTML tags. In , a popularized for web documentation, certain flavors such as Flavored Markdown employ the vertical bar (|) to delineate columns. Tables are formed by separating headers and rows with , with a header row of (at least three per column) to distinguish it from data rows; pipes at the edges are optional for simplicity. An example is | First Header | Second Header | \n | ------------- | ------------- | \n | Content Cell | Content Cell |, which produces a basic aligned . Alignment can be adjusted using colons within the hyphen row (e.g., |:---:| for centering), and pipes within cell content must be escaped as \| to avoid misinterpretation. This extension, not part of original , facilitates readable tabular data in plain text files rendered to . LaTeX, a typesetting system for technical documents, utilizes the vertical bar (|) in math mode as a basic delimiter for expressions like sets or absolute values, often paired with commands for proper spacing and scaling. The command \vert produces a single vertical bar suitable as an operator or fence, synonymous with the plain | but recommended for mathematical contexts to ensure consistent rendering. For resizable delimiters, \lvert and \rvert from the amsmath package provide left and right variants that auto-scale with \left and \right (e.g., \left\lvert x \right\rvert for |x| matching content height), while manual sizing options like \big| or \Bigl| allow fine control in complex equations. Double bars for norms use \| or \Vert. These features enhance precise mathematical notation in documents. In and CSS, the vertical (|) appears sparingly in markup and styling, primarily within CSS attribute selectors to handle or hyphen-separated values. For instance, [lang|=en] targets elements with a lang attribute exactly "en" or starting with "en-" (e.g., "en-US"), using the bar as a namespace separator in qualified names like *|E for any namespace's E. This selector type, defined in CSS specifications, supports targeted styling based on attribute patterns but is less common than basic attribute matching due to its specialized role in internationalized or modular documents.

Linguistics and typography

Phonetic transcription

In the (IPA), the vertical bar (|) serves as a suprasegmental symbol to denote a minor (foot) group boundary, marking the separation of smaller prosodic units within an intonation phrase, such as a foot or minor phrase. This usage helps represent the rhythmic and intonational structure of speech, distinguishing it from larger major (intonation) group boundaries marked by double vertical bars (||). For instance, in transcribing English prosody, it can indicate a subtle pause or grouping, as in /ə nɔː| mɑːl/ for "a normal," where the bar highlights the minor phrase break after "nor."

Orthographic uses

In Hebrew , the (שְׁוָא) is a diacritical mark represented by two dots arranged vertically beneath a , indicating a reduced or vocalized sound, often an ultra-short -like in the Tiberian tradition of . This mark, which visually resembles a compact vertical bar, distinguishes vocal shewa (with phonetic value) from silent shewa (indicating consonantal quiescence or syllable closure). For instance, in the word שְׁלוֹם (, "peace"), the shewa under the signals a vocal onset. Additionally, the paseq (פָּסֵק), a vertical bar (׀), appears in medieval Masoretic manuscripts of the to separate words, indicate disjunctive accents, or mark special syntactic divisions, such as preventing between repeated terms like proper names. This usage underscores its role in clarifying clause boundaries and rhythmic structure in scriptural texts. In certain African writing systems, particularly those of the Khoisan languages spoken in southern Africa, the vertical bar (|) denotes a dental click consonant, a distinctive ingressive sound produced by suction at the teeth. This orthographic convention, rooted in the International Phonetic Alphabet (IPA) and adapted for practical transcription, represents one of five basic click types (alongside alveolar !, lateral ǁ, palatal ǂ, and bilabial ʘ). For example, in the Juǀʼhoan language (formerly known as !Kung), the word |xòã refers to "eland," where the initial | indicates the dental click followed by a velar fricative and nasal vowel. Such usage integrates the vertical bar into the core phonemic inventory, essential for distinguishing lexical items in these non-Bantu tonal languages. This practice parallels the capitulum, a stylized "C" intersected by a vertical bar, used for paragraph or sentence separation from the onward. In contemporary , the vertical bar occasionally serves as a substitute for the em dash (—) in plain-text environments or specific systems to denote abrupt breaks, interruptions, or parenthetical insertions, especially where full typographic control is limited. This adaptation highlights the bar's versatility in maintaining readability across media, though style guides like recommend the true em dash for formal print.

Literary and artistic applications

In and analysis, the vertical bar serves as a notation tool in to delineate metrical feet within a line. The (TEI) standards specify its use for marking foot divisions, with line breaks indicated separately by a (/), enabling precise encoding of poetic structure in digital literary editions. This application highlights the bar's role in facilitating rhythmic and structural breakdown for scholars and performers. In music scoring, the single vertical bar functions as a bar line to separate measures, particularly in tablature systems like guitar tabs, where it divides the notation into rhythmic segments for instrumentalists. The double vertical bar (||), consisting of two closely spaced lines, denotes the end of a major section, a change, or the conclusion of a , providing clear structural boundaries in scores. Artistic applications extend to experimental notation, as seen in John Cage's 4'33" (1952/1953), where vertical lines proportionally represent temporal divisions of silence across the piece's three movements, transforming absence into a measurable compositional element. This innovative use equates space to time, emphasizing ambient sounds as music.

Variants and encoding

Broken bar

The broken bar (¦) is a typographic variant of the vertical bar featuring a visible gap in its middle, designed to provide visual distinction from the solid vertical bar (|). This symbol emerged as a deliberate choice in early computing standards to differentiate it from similar glyphs, such as the when stylized vertically or other separators in programming languages like . The solid vertical bar (|) was included in the original X3.4-1963 ASCII standard at code point 7Ch (decimal 124). The 1967 revision (X3.4-1967) changed it to the broken bar to resolve ambiguities in international character sets and support specific needs in programming and data transmission, particularly to distinguish from the solid bar in . By the 1977 revision of ANSI X3.4, the standard reverted to the solid vertical bar at 7Ch, reflecting a preference for the unbroken form in evolving practices. Early typewriters and computer keyboards often rendered this code point as broken to align with the 1967-1968 standards, influencing fonts in systems like PCs. In modern contexts, the broken bar appears primarily in legacy systems or specific keyboard layouts, such as the variant where it serves as an alternative to the symbol via combinations. It is rarely used in , where the solid vertical bar or double bar (||) is the standard for notations like or norms. encodes the broken bar separately at U+00A6 while designating U+007C for the vertical bar in general applications, effectively discouraging the broken form for new typographic or programming uses in favor of the solid variant.

Unicode representation

The vertical bar is encoded in Unicode as U+007C VERTICAL LINE, classified under the Symbol, Math (Sm) category within the Basic Latin block. This code point represents a solid vertical line used across various scripts and contexts, with a bidirectional class of Other Neutral (ON) and no mirroring property. The character is not decomposable and has no or decompositions, ensuring its representation in normalized Unicode text. A fullwidth variant exists at U+FF5C FULLWIDTH VERTICAL LINE (|), part of the block, designed for East Asian typography where it occupies a full character width equivalent to ideographs. Rendering of U+007C can vary across fonts; for instance, some monospace fonts display it as a thin, unbroken line, while proportional fonts may adjust its thickness for aesthetic balance, occasionally leading to visual confusion with similar symbols like the broken bar (U+00A6). No dedicated zero-width variant exists for the vertical bar in Unicode, though in specialized contexts such as text segmentation or invisible markup, alternatives like the (U+200B) may be used adjacently to control layout without visible interruption. As of Unicode 17.0 released in September 2025, no major changes have been made to U+007C itself.

Legacy encodings

The vertical bar character (|) was standardized in the American Standard Code for Information Interchange (ASCII) at position 124 decimal (7C hexadecimal) upon its initial publication as X3.4-1963. This encoding allowed the vertical bar to be represented consistently in early digital communications and systems supporting seven-bit codes. In contrast, IBM's Extended Interchange Code (), developed in the late 1950s and widely used in mainframe systems, assigned the vertical bar to varying positions across s, such as 0x6F in 037. These discrepancies, including mappings where the vertical bar in one EBCDIC corresponded to other symbols like the in another EBCDIC , led to significant portability challenges when exchanging data between EBCDIC-based environments and ASCII systems. The International Organization for Standardization's ISO 8859-1 (Latin-1), published in 1987 for Western European languages, retained the ASCII-compatible encoding for the vertical bar at 0x7C, ensuring with seven-bit ASCII in the lower 128 code points. Early hardware implementations, such as the introduced in 1963, utilized the vertical bar within ASCII shift states for character selection and printing on electromechanical teleprinters during the 1960s. These legacy encodings laid the groundwork for later standards like , which superseded them by unifying character representations across diverse systems.

References

  1. [1]
  2. [2]
    U+007C VERTICAL LINE - Unicode Explorer
    Comments, vertical bar, pipe used in pairs to indicate absolute value also used as an unpaired separator or as a fence ; Block, C0 Controls and Basic Latin ( ...Missing: definition | Show results with:definition
  3. [3]
    Vertical Bar Character Definition - The Linux Information Project
    Aug 5, 2007 · The vertical bar character is used to represent a pipe in commands in Linux and other Unix-like operating systems.Missing: symbol | Show results with:symbol
  4. [4]
    Definition of vertical bar | PCMag
    The vertical bar character (|), located over the backslash (\) key, is used as an OR operator. In the C/C++ language, two vertical bars are used.
  5. [5]
    Vertical Bar Symbol (|) - Wumbo
    The vertical bar symbol has a variety of meanings in mathematics, depending on the context. It's used as a delimiter in set notation to indicate "such that" ...Missing: definition | Show results with:definition
  6. [6]
    21-110: Sets
    B = { x ∈ R | x > 17 }. In set-builder notation, the vertical bar | should be read as “such that” or “satisfying the condition that.” So the expression above ...
  7. [7]
    What do vertical bars mean in statistical distributions?
    Jul 31, 2014 · The vertical bar is often called a 'pipe'. It is often used in mathematics, logic and statistics. It typically is read as 'given that'.
  8. [8]
    When should each type of vertical bar (pipe) be used?
    Aug 21, 2019 · To indicate that one integer is a factor (or divisor) of another (e.g. 2|4) · To indicate conditions in set notation (e.g. Dom(√x)={x∈R∣x≥0}) · To ...
  9. [9]
    The vertical bar and broken bar - a bit of history - Retro Computing
    May 31, 2020 · The vertical bar is used as a mathematical symbol in numerous ways. If used as a pair of brackets, it suggests the notion of the word "size".Missing: definition | Show results with:definition
  10. [10]
  11. [11]
    Earliest Uses of Symbols of Number Theory - MacTutor
    Divisibility. In the unpublished notes of his 1925 number theory seminar, Hardy used a|b several times in reference to work by Polya. [Jim Tattersall]
  12. [12]
  13. [13]
    Earliest Uses of Symbols in Probability and Statistics - MacTutor
    Kolmogorov's (1933) symbol for conditional probability ("die bedingte Wahrscheinlichkeit") was PB(A). Cramér (1937) wrote PB (A) and referred to the "relative ...
  14. [14]
    Determinant -- from Wolfram MathWorld
    Determinants are mathematical objects useful in solving linear equations, defined for square matrices. A zero determinant means the matrix is singular.
  15. [15]
    Why are |vertical lines| used to mark matrix determinants?
    May 10, 2019 · In this paper he used two vertical lines on either side of the array to denote the determinant, a notation which has now become standard.What does this (double absolute value like) notation mean?Is there a difference between one or two lines depicting the norm?More results from math.stackexchange.com
  16. [16]
    Iverson Bracket -- from Wolfram MathWorld
    Let S be a mathematical statement, then the Iverson bracket is defined by [S]={0 if S is false; 1 if S is true, (1) and corresponds to the so-called ...Missing: logical applications sums
  17. [17]
    [PDF] Computer Science Department by Donald E. Knuth, Tracy Larrabee ...
    Introduction to Tbe Tbeory of Numbers, by Hardy and Wright. This book is. "short on motivation." Theorems are stated and proved concisely and precisely. In.<|control11|><|separator|>
  18. [18]
    17.9: Cell Notation and Conventions - Chemistry LibreTexts
    Jul 19, 2023 · The components of the cell are written in order, starting with the left-hand and moving across the salt bridge to the right. A single vertical ...
  19. [19]
    [PDF] Quantities, Units and Symbols in Physical Chemistry - IUPAC
    A single vertical bar ( | ) should be used to represent a phase boundary, a dashed vertical bar ( ) to represent a junction between miscible liquids, and ...
  20. [20]
    SMILES notation includes vertical bar | and lp Sg
    Jul 28, 2024 · The SMILES is parsed without errors in Rdkit, but the part between vertical bars is left out when re-exporting to SMILES (or Inchi).What would be SMILES notation for a compound with delocalized ...What is this SMILES notation: C[Si](C)C |^1:1More results from chemistry.stackexchange.com
  21. [21]
    2.1 Scalars and Vectors - University Physics Volume 1 | OpenStax
    Sep 19, 2016 · Since the magnitude of a vector is its length, which is a positive number, the magnitude is also indicated by placing the absolute value ...
  22. [22]
    A new notation for quantum mechanics | Mathematical Proceedings ...
    A new notation for quantum mechanics ... Mathematical Proceedings of the Cambridge Philosophical Society , Volume 35 , Issue 3 , July 1939 , pp. 416 - 418.
  23. [23]
    Statistical Thermodynamics of the Fluid−Solid Interface
    where the vertical bar signifies that the partial derivative is to be evaluated by setting the transverse dimensions of the fluid phase equal to those of the ...Missing: notation | Show results with:notation
  24. [24]
    [PDF] PROGRAMMING - Interview with Doug McIlroy - USENIX
    Mar 2, 2016 · When I first encountered the UNIX manuals, reading them all was actually quite possible: there were just two volumes, perhaps a stack of paper.
  25. [25]
    Pipe: How the System Call That Ties Unix Together Came About
    Jul 21, 2019 · A History of how the Unix Pipe command came together, and influenced programming.Missing: shell | Show results with:shell
  26. [26]
  27. [27]
    How to understand pipes - Unix & Linux Stack Exchange
    Aug 5, 2011 · Pipes are more efficient than files because no disk IO is needed. So cmd1 | cmd2 is more efficient than cmd1 > tmpfile; cmd2 < tmpfile.Piping to file doesn't work with intermediate pipe [duplicate]In what order do piped commands run? - Unix & Linux Stack ExchangeMore results from unix.stackexchange.com
  28. [28]
    Operators reference — Elixir v1.19.2 - Hexdocs
    This document is a complete reference of operators in Elixir, how they are parsed, how they can be defined, and how they can be overridden.
  29. [29]
    Pipe - magrittr
    The default behavior of %>% when multiple arguments are required in the rhs call, is to place lhs as the first argument.Details · Using the dot for secondary... · Using lambda expressions with
  30. [30]
    Appendix A Symbolic notation ‣ Appendices ‣ forall x: Calgary
    The most common choice now is ' ∧ ', which is a counterpart to the symbol used for disjunction. Sometimes a single dot, '•', is used. In some older texts, there ...
  31. [31]
    Propositional Logic | Internet Encyclopedia of Philosophy
    Propositional logic studies ways of combining or altering statements to form more complex ones, and the logical relationships derived from these methods.
  32. [32]
    [PDF] Truth-Functional Propositional Logic
    A compound sentence consisting of two proposition-expressing sentences joined by "or" is said to be a disjunction. The two component sentences in the ...<|separator|>
  33. [33]
    [PDF] Revised REport on the Algorithmic Language Algol 68
    This is a revised report on the algorithmic language Algol 68, including errata up to 1978, and approved by the International Federation for Information ...
  34. [34]
    [PDF] Informal Introduction to ALGOL 68 - Hal-Inria
    Nov 27, 2020 · up the its end, then the "logical end of file" is the position (page, line and character number) just after the last character written. New ...
  35. [35]
    What are the differences between bitwise and logical AND operators ...
    Apr 25, 2023 · A Bitwise And operator is represented as '&' and a logical operator is represented as '&&'. The following are some basic differences between the two operators.
  36. [36]
    Logical vs Bitwise OR Operator | Baeldung
    Jun 26, 2021 · In this article, we learned about using logical and bitwise OR operators on boolean and integer operands. We also looked at the major difference ...
  37. [37]
    Concatenation operations - IBM
    The concatenation operator can cause conversion to a string type because concatenation can be performed only upon strings—either character, bit, graphic or ...
  38. [38]
    String concatenation - IBM
    The concatenation operators combine two strings to form one string by appending the second string to the right-hand end of the first string.Missing: comal | Show results with:comal
  39. [39]
    String concatenation operators | Vertica 23.4.x
    To concatenate two strings on a single line, use the concatenation operator (two consecutive vertical bars). Syntax. string || string. Parameters. string ...Missing: programming | Show results with:programming
  40. [40]
    javascript - Why is + so bad for concatenation?
    Jul 6, 2011 · The typical issue brought up for string concatenation revolves around a few issues: the + symbol being overloaded.
  41. [41]
    RFC 8089 - The "file" URI Scheme - IETF Datatracker
    ... DOS or Windows file URIs with vertical line characters in the drive letter construct. For example: o "file:///c|/path/to/file" o "file:/c|/path/to/file" o "file ...<|separator|>
  42. [42]
    OpenAPI Specification v3.2.0
    Summary of each segment:
  43. [43]
    Gazetteer Files - U.S. Census Bureau
    Sep 10, 2025 · All national files are in compressed format. Files are pipe-delimited text, one line per record unless otherwise noted. Data are available for ...
  44. [44]
    Regex Tutorial: Alternation with The Vertical Bar
    In a regular expression, the vertical bar or pipe symbol tells the regex engine to match any of two or more options.Missing: escape | Show results with:escape
  45. [45]
    Backus - Computer Pioneers
    In the course of efforts to define Algol 58 more precisely, he employed the syntax description technique known as BNF; this technique was improved and used by ...
  46. [46]
    [PDF] Backus Naur Form
    John Backus (1924– ), creator of Fortran, served on the ALGOL development committee with. Peter Naur (1928– ), a European representative. The notation first ...
  47. [47]
    Grammar: The language of languages (BNF, EBNF, ABNF and more)
    A vertical bar | indicates choice. For example, in BNF, the classic expression grammar is: <expr> ::= <term> "+" <expr> | <term> <term> ::= <factor> ...
  48. [48]
    10. Full Grammar specification — Python 3.14.0 documentation
    This is the full Python grammar, derived directly from the grammar used to generate the CPython parser (see Grammar/python.gram).
  49. [49]
    Sample Railroad Diagram - Oracle Help Center
    The following diagram illustrates a variant grammar that parses the following English sentence: "The quick brown fox jumps over the lazy dog."
  50. [50]
    Residue - APL Wiki
    Sep 10, 2022 · Residue ( | ), Remainder, or Modulus is a dyadic scalar function which gives the remainder of division between two real numbers.Missing: programming language vertical bar
  51. [51]
    Formalism in Programming Languages - Jsoftware
    Sep 8, 2009 · Thus, for integers i and j, the operator “=” is equivalent to the Kronecker delta. ... Residue mod m, m | n. Logical AND, OR, ∧ ∨. Table 2 ...
  52. [52]
    Syntax in Functions - Learn You a Haskell for Great Good!
    Guards are indicated by pipes that follow a function's name and its parameters. Usually, they're indented a bit to the right and lined up. A guard is basically ...Missing: vertical | Show results with:vertical
  53. [53]
    PEP 572 – Assignment Expressions - Python Enhancement Proposals
    During discussion of this PEP, the operator became informally known as “the walrus operator”. ... A previous version of this PEP proposed subtle changes to ...Missing: vertical | Show results with:vertical
  54. [54]
    Help:Tables - MediaWiki
    Sep 5, 2025 · You can have longer text or more complex wiki syntax inside table cells, too: ... When using attributes as in the heading 'Item' a vertical bar ...
  55. [55]
    Organizing information with tables - GitHub Docs
    You can create tables with pipes | and hyphens - . Hyphens are used to create each column's header, while pipes separate each column.
  56. [56]
    [PDF] User's Guide for the amsmath Package (Version 2.1) - LaTeX
    The amsmath package is a LATEX package that provides miscellaneous enhance- ments for improving the information structure and printed output of documents.
  57. [57]
    Selectors Level 4 - W3C
    Nov 11, 2022 · The attribute name in an attribute selector is given as a CSS ... attribute name separated by the namespace separator "vertical bar" ( | ).
  58. [58]
    [PDF] UNITIPA Symbol list of the International Phonetic Alphabet (revised ...
    Vertical line (thick). IPA number: 507. Unicode name: VERTICAL LINE. Unicode ... SYLLABLE BREAK. IPA name: Period. IPA number: 506. Unicode name: FULL STOP.
  59. [59]
    [PDF] Handbook_of_the_IPA.pdf
    The Handbook of the International Phonetic Association is a comprehensive guide to the. Association's 'International Phonetic Alphabet'.
  60. [60]
    [PDF] The ToBI Annotation Conventions by Julia Hirschberg and Mary E ...
    Break indices are to be marked at the right edges of the words that have been transcribed in the or- thographic tier (on or slightly to the left of each word ...
  61. [61]
    [PDF] The Practical Study of Languages - ERIC
    A landmark in the literature of linguistic pedagogy is presented in this reprint of a bock first published in 1899. The broad scope of this practical guide.
  62. [62]
  63. [63]
    The Sheva - Hebrew for Christians
    Usually we will transliterate a vocal sheva with an "e" (or sometimes with an apostrophe). The silent sheva is used to provide a stop to a syllable. We will not ...
  64. [64]
    Shewa: Pre-Modern Hebrew - Brill Reference Works
    The shewa sign (ְ) in the Tiberian reading tradition of Biblical Hebrew had two types of phonetic realization, viz. (i) a short vowel (referred to below as ...
  65. [65]
    [PDF] Studies in the Masoretic Tradition of the Hebrew Bible
    In the case of. Abraham, Jacob, and Samuel, the repeated proper nouns are di- vided in the pointed Masoretic Text by a vertical bar (paseq). ... medieval ...
  66. [66]
    [PDF] THE SYNTAX OF MASORETIC ACCENTS IN THE HEBREW BIBLE
    two dots of Little Zaqeph with a vertical bar immediately to the left of the dots. ... that Paseq has three functions in the books of poetry: (1) The Paseq of ...
  67. [67]
    [PDF] Clicks, Concurrency and Khoisan - Edinburgh Research Explorer
    This article deals primarily with Khoisan languages and their click consonants. This topic is particularly bedevilled by notational issues: the 'correct ...
  68. [68]
    Khoekhoe Languages | Research Starters - EBSCO
    Click consonants are formed in different ways. Dental clicks, which in written form are represented by a vertical line, are made by placing the tip of the ...Missing: bar | Show results with:bar
  69. [69]
    Paleography: Punctuation - Manuscript Studies - University of Alberta
    Dec 2, 1998 · In medieval manuscripts, underlining was sometimes used to indicate direct speech or quotation, especially for Biblical quotations, but ...
  70. [70]
    6 Verse - The TEI Guidelines - Text Encoding Initiative
    Foot divisions are marked by a vertical bar, and line divisions with a solidus.</p> <p>This notation may be applied to any metrical unit, of any size ...<|separator|>
  71. [71]
    How to Read Guitar Notation, Part 3: Guitar Tab
    The vertical lines are bar lines that divide the song into measures. To read tab, you read the diagram from left to right and play the fret indicated by the ...
  72. [72]
    What Is a Double Barline? - LiveAbout
    Jun 8, 2018 · A double barline refers to two thin, vertical lines used to separate different sections of a musical passage.
  73. [73]
    John Cage. 4'33" (In Proportional Notation). 1952/1953 | MoMA
    Whereas the lost original score used conventional musical notation to signify three periods of silence, this score is composed of a series of vertical lines.
  74. [74]
    How to Format Dialogue in a Script — Screenplay Fundamentals
    Mar 10, 2025 · In this article, we'll take a look at how to format dialogue in a script so you can create dialogue in a simple format.
  75. [75]
    A wunderBAR Story | OS/2 Museum
    Mar 11, 2023 · Okay, so the 1967 and 1968 revisions of the X3.4 ASCII standard clearly did show a broken vertical line as ASCII character 7Ch, and it was ...
  76. [76]
  77. [77]
    None
    ### Summary of U+007C Vertical Line and U+00A6 Broken Bar from Unicode Chart (U0000.pdf)
  78. [78]
    “|” U+007C Vertical Line Unicode Character - Compart
    U+007C is the unicode hex value of the character Vertical Line. Char U+007C, Encodings, HTML Entitys:|,|,|, UTF-8 (hex), UTF-16 (hex), UTF-32 (hex)Missing: definition | Show results with:definition
  79. [79]
    Unicode Character 'VERTICAL LINE' (U+007C) - FileFormat.Info
    Unicode Data. Name, VERTICAL LINE. Block, Basic Latin. Category, Symbol, Math [Sm]. Combine, 0. BIDI, Other Neutrals [ON]. Mirror, N. Old name, VERTICAL BAR.Missing: details decomposition variants rendering
  80. [80]
    U+007C VERTICAL LINE: | – Unicode - Codepoints
    U+007C Vertical Line. Nº: 124; General Category: Math Symbol; Script: Common; Bidirectional Category: Other Neutral; Decomposition Type: none.Missing: details | Show results with:details
  81. [81]
    U+FF5C FULLWIDTH VERTICAL LINE: | – Unicode - Codepoints
    The glyph is a wide version of the glyph Vertical Line. Accordingly, its width in East Asian Text is fullwidth. In bidirectional text it acts as Other Neutral.
  82. [82]
    “|” U+FF5C Fullwidth Vertical Line Unicode Character - Compart
    Unicode Character “|” (U+FF5C). |. Name: Fullwidth Vertical Line. Unicode Version: 1.1 (June 1993). Block: Halfwidth and Fullwidth Forms, U+FF00 - U+FFEF.Missing: variant | Show results with:variant
  83. [83]
  84. [84]
  85. [85]
    Unicode 17.0.0
    Sep 9, 2025 · 2025 September 9 (Announcement) ... For details about emoji changes, see the Unicode 17.0 emoji charts and Emoji Recently Added, v17.
  86. [86]
  87. [87]
    Lost in Translation 1 - EBCDIC Code Pages - Longpela Expertise
    In the first article of a series of three, we look at EBCDIC code pages - what they are, why they're used, and what this means.
  88. [88]
    ASCII / ISO 8859-1 (Latin-1) Table with HTML Entity Names
    ASCII / ISO 8859-1 (Latin-1) Table with HTML Entity Names ; Lower Case Letters. Character Reference ; Lower Case Letters · Hex ; Lower Case Letters · Character ...
  89. [89]
    ASR-33 Teletype - CHM Revolution - Computer History Museum
    ... 33 was a popular input and output device for minicomputers. It was originally designed as a low cost terminal for the Western Union communications network.