Information about Vertical Bar
- Note: "broken bar" and the glyph "¦" redirect here.
The symbol (|) has various names that refer to differing, yet sometimes related semantics: One of the more popular names is the Sheffer stroke, though often referred to as a pipe (by the Unix community) and Vertical bar, verti-bar, vertical line or divider line by others.
Broken bar (¦) is a separate character.
The typical keyboard layout used in the United Kingdom features separate keys for vertical bar and broken bar, however most UK keyboard drivers today map both keys onto the vertical bar, as broken bar has hardly any practical application. Keyboards in other countries do not make this distinction, and there, the vertical bar character is often depicted as a broken bar, to distinguish it from the "I" (uppercase "i") character.
Etymology
The name pipe for the character "|" was a natural consequence of its usage in Unix shells, where it is used to notate the usage of the unix pipeline construct.Usage
Mathematics
The vertical bar is used as a mathematical symbol in- absolute value:
, read "the absolute value of x".
- norms:
, read "the norm of x sub one, x sub two"; though Unicode also provides a special double vertical line symbol U+2016: ‖x‖
- set definition:
, read "the set of x such that x is less than two". Often sets are written with a colon ':' rather than a vertical bar.
- conditional probability:
, read "the probability of X given Y".
- divisibility:
, read "a divides b".
- the Sheffer stroke in logic:
, read "a nand b".
- evaluate:
, read "a plus 3 evaluated for when a equals 4", or
.
Backus-Naur form
In Backus-Naur form the expression consists of sequences of symbols and/or sequences separated by '|', indicating a choice, the whole being a possible substitution for the symbol on the left.- <personal-name> ::= <name> | <initial>
Computing
Unix
A pipe is an inter-process communication mechanism originating in Unix which allows the output (standard out and, optionally, standard error) of one process to be used as input (standard in) to another. In this way, a series of commands can be "piped" together. This provides skilled practitioners the ability to quickly perform complex processing on the command line or as part of a UNIX shell script ("batch file"). In most Unix shells (command interpreters), this is represented by the vertical bar character.e.g. Piped UNIX commands: egrep -i 'blair' filename.log | more
Traditionally, the piping capability in UNIX is provided by the "fork and exec" feature of UNIX operating systems. The UNIX shell forks off a copy of itself for each command, connecting the input of each to the output of the next. When processing large amounts of data, all processes in the pipeline will typically be active at the same time (within the limits of the hardware used).
DOS/Windows
This feature is found in later versions of Microsoft DOS (and hence Microsoft Windows) as well, however, the smaller DOS command set, the limited command functionality and crude shell capabilities means that piping is less useful in the more visual Microsoft Windows environment. However Cygwin and MKS toolkit provide complete UNIX tool sets for the Windows environment, including UNIX shells (BASH & Korn shell respectively) which provide the same powerful piping capabilities as UNIX.e.g. Piped DOS command: type *.txt | more
Regular expression
In regular expression syntax, the pipe indicates alternation (i.e. logical OR). For example: the Unix command grep -E 'foo|bar' matches lines containing 'foo' or 'bar'.Disjunction
In many programming languages, it is used to designate the logic operation or, either bitwise or or logical or.Specifically, in C and other languages following C syntax conventions, such as C++, Perl, Java and C#, (a | b) denotes a bitwise or; whilst a double vertical bar (a || b) denotes a (short-circuited) logical or.
Concatenation
In PL/I and SQL, the operator "||" denotes string concatenation.Delimiter
Although not as common as commas or tabs, the vertical bar can be used as a delimiter in a flat file. An example of a pipe-delimited standard data format is LEDES 1998B.Concurrency operator
In calculi of communicating processes (like Pi-calculus), the vertical bar is used to indicate that processes execute in parallel.Phonetics and orthography
In the Khoisan languages and International Phonetic Alphabet, the pipe is used to write the dental click (ǀ). The double vertical line is used to write the lateral alveolar click (ǁ).Encoding
Despite the vertical bar being an accessible keystroke on typical North American and UK keyboards, there are cases where Web designers, Wiki editors, computer programmers, and others need to encode the vertical bar — usually because the vertical bar is a special symbol in their source code and yet a literal vertical bar needs to be displayed to the end user.Set forth in 1963, American Standard Code for Information Interchange (ASCII-1963), one of the first widely used character maps only had 69 display ("printable") characters; and A–Z, and 0–9 accounts for 36 of those characters. Vertical bar ("|") is the ASCII-1963 character at position 124 (decimal). Broken bar ("¦") is not part of the ASCII character set (any version), but a separate character that appeared (along with vertical bar) first in the EBCDIC family of character sets, and was copied from there into ISO 8859-1 and Unicode. The typical computer keyboard used in the United Kingdom features separate keys for "vertical bar" and "broken bar", however most UK keyboard drivers today map both keys onto the ASCII character "vertical bar", as "broken bar" has hardly any practical application.
In common character maps
hexadecimal (base-16): 007Chexadecimal (base-16): 7C
decimal (base-10): 124, or hexadecimal (base-16): 7C
hexadecimal (base-16): 7C
- Shift-JIS Men-Ku-Ten
- EBCDIC (CCSID 500 variant)
Punctuation is everything in written language other than the actual letters or numbers, including punctuation marks (listed at right), inter-word spaces, capitalization, and indentation.
..... Click the link for more information.
..... Click the link for more information.
apostrophe ( ’ or ' ) is a punctuation mark, and sometimes a diacritic mark, in languages written in the Latin alphabet.
..... Click the link for more information.
..... Click the link for more information.
Brackets are punctuation marks used in pairs to set apart or interject text within other text. With respect to computer science, the term is sometimes said to only strictly apply to the square or box type.
..... Click the link for more information.
..... Click the link for more information.
colon (“:”) is a punctuation mark, consisting of two equally sized dots centered on the same vertical line.
..... Click the link for more information.
Punctuation
Usage
As with many other punctuation marks, the usage of colon varies among languages and, for a given language, among..... Click the link for more information.
For other uses, see Comma.
A comma ( , ) is a punctuation mark. It has the same shape as an apostrophe or single closing quotation mark in many typefaces, but it differs from them in being placed on the baseline of the text...... Click the link for more information.
A dash is a punctuation mark. It is longer than a hyphen and is used differently.
glyph Unicode[1] HTML[2] HTML/XML[3]
..... Click the link for more information.
Common dashes
There are several forms of dash, of which the most common are:glyph Unicode[1] HTML[2] HTML/XML[3]
..... Click the link for more information.
Ellipsis (plural ellipses; from Greek ἔλλειψις 'omission') in printing and writing refers to the row of three full stops (… or . . .
..... Click the link for more information.
..... Click the link for more information.
exclamation mark or exclamation point is a punctuation mark: ! It is usually used after an interjection or exclamation to indicate strong feelings or high volume, and generally marks the end of a sentence.
..... Click the link for more information.
..... Click the link for more information.
Full Stop is an album released in 2000 by Annabelle Chvostek.
..... Click the link for more information.
Track listing
- "Icy blue"
- "Messages get through"
- "Body Work"
- "Gray's Pussycat Edie"
- "Chills"
- "Blows me away"
- "La La La"
- "Booby Boo"
- "That in itself"
..... Click the link for more information.
Guillemets, also called angle quotes, are line segments, pointed as if arrows (« or »), sometimes forming a complementary set of punctuation marks used as a form of quotation mark.
..... Click the link for more information.
..... Click the link for more information.
hyphen ( ‐ ) is a punctuation mark. It is used both to join words and to separate syllables. It is often confused with the dashes ( –, —, ― ), which are longer and have different functions.
..... Click the link for more information.
..... Click the link for more information.
question mark (?), also known as an interrogation point, question point, query,[1] or eroteme, is a punctuation mark that replaces the full stop at the end of an interrogative sentence.
..... Click the link for more information.
..... Click the link for more information.
Quotation marks or inverted commas (also informally quotes,[1] and occasionally speech marks) are punctuation marks used in pairs to set off speech, a quotation, a phrase or a word.
..... Click the link for more information.
..... Click the link for more information.
A semicolon ( ; ) is a punctuation mark. The Italian printer Aldus Manutius the Elder established the practice of using the mark to separate words opposed in meaning and to mark off interdependent statements.
..... Click the link for more information.
..... Click the link for more information.
Due to technical limitations, /. redirects here. You may be looking for Slashdot, the technology news web site.
A slash or stroke, /, is a punctuation mark...... Click the link for more information.
The solidus character U+2044, ⁄, also known as a shilling mark, is a punctuation mark; it is not found on standard keyboards.
The solidus is similar to the slash, a character found on standard keyboards.
..... Click the link for more information.
The solidus is similar to the slash, a character found on standard keyboards.
..... Click the link for more information.
This article or section is in need of attention from an expert on the subject.
Please help recruit one or [ improve this article] yourself. See the talk page for details.
..... Click the link for more information.
Please help recruit one or [ improve this article] yourself. See the talk page for details.
..... Click the link for more information.
In writing, a space ( ) is any empty (non-written) zone between written sections. However, the term is usually used to refer to an empty zone used for interword separation (interword space) or separation between punctuation and words.
..... Click the link for more information.
..... Click the link for more information.
An interpunct · is a small dot used for interword separation in ancient Latin script, being perhaps the first consistent visual representation of word boundaries in written language. The dot is vertically centered, e.g.
..... Click the link for more information.
..... Click the link for more information.
Typography is the art and techniques of type design, modifying type glyphs, and arranging type. Type glyphs (characters) are created and modified using a variety of illustration techniques.
..... Click the link for more information.
..... Click the link for more information.
- For the magazine, see Ampersand magazine.
..... Click the link for more information.
asterisk (*), is a typographical symbol or glyph. It is so called because it resembles a conventional image of a star (Latin astrum). Computer scientists and mathematicians often pronounce it as star (as, for example, in the A* search algorithm
..... Click the link for more information.
..... Click the link for more information.
at sign (@, read aloud in English as "at") is a typographic symbol used as an abbreviation for "at" in accounting and commercial invoices, in statements such as "7 widgets @ $2 ea. = $14". More recently, the at symbol has become ubiquitous because of its use in e-mail addresses.
..... Click the link for more information.
..... Click the link for more information.
The backslash ( \ ) is a typographical mark (glyph) used chiefly in computing. It was first introduced in 1960 by Bob Bemer.[1] Sometimes called a reverse solidus, it is the mirror image of the common slash. It is also known as a slosh.
..... Click the link for more information.
..... Click the link for more information.
In typography, a bullet is a typographical symbol or glyph used to introduce items in a , like below, also known as the point of a bullet:
..... Click the link for more information.
- This is the text of a list item. Notice the bullet to the left.
- This is a different list item, and so there is another bullet.
..... Click the link for more information.
Caret is the name for the symbol ^ in ASCII and some other character sets. Its Unicode code point is U+005E, and its ASCII code in hexadecimal is 5E. Strictly speaking, the caret character in common use is actually referred to in the Unicode standard as the "CIRCUMFLEX ACCENT"; the
..... Click the link for more information.
..... Click the link for more information.
’ ' )
brackets ( ), [ ], , < >
colon ( : )
comma ( , )
dashes ( ‒, –, —, ― )
ellipsis ( …, ...
..... Click the link for more information.
brackets ( ), [ ], , < >
colon ( : )
comma ( , )
dashes ( ‒, –, —, ― )
ellipsis ( …, ...
..... Click the link for more information.
Former signs
₳ • ₢ • ₰ • ₯ • ₠ • ₣ • ℳ • ₧ • I/.
The dollar sign or peso sign ($) is a symbol primarily used to indicate a unit of currency.
..... Click the link for more information.
₳ • ₢ • ₰ • ₯ • ₠ • ₣ • ℳ • ₧ • I/.
The dollar sign or peso sign ($) is a symbol primarily used to indicate a unit of currency.
..... Click the link for more information.
’ ' )
brackets ( ), [ ], , < >
colon ( : )
comma ( , )
dashes ( ‒, –, —, ― )
ellipsis ( …, ...
..... Click the link for more information.
brackets ( ), [ ], , < >
colon ( : )
comma ( , )
dashes ( ‒, –, —, ― )
ellipsis ( …, ...
..... Click the link for more information.
Former signs
₳ • ₢ • ₰ • ₯ • ₠ • ₣ • ℳ • ₧ • I/.
The pound sign ("₤" or later more commonly in the UK "£
..... Click the link for more information.
₳ • ₢ • ₰ • ₯ • ₠ • ₣ • ℳ • ₧ • I/.
The pound sign ("₤" or later more commonly in the UK "£
..... Click the link for more information.
This article is copied from an article on Wikipedia.org - the free encyclopedia created and edited by online user community. The text was not checked or edited by anyone on our staff. Although the vast majority of the wikipedia encyclopedia articles provide accurate and timely information please do not assume the accuracy of any particular article. This article is distributed under the terms of GNU Free Documentation License.
Herod_Archelaus