The vertical bar (|) has various names including the pipe (by the Unix community), verti-bar, vbar, vertical line, vertical slash, or divider line by others. It has various usages in mathematics, where it can be used to represent absolute value, among others; computing and programming; and general typography, as a divider not unlike the interpunct.
The 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, typically on Windows PCs the vertical bar key produces a broken-bar symbol and vice versa. North American keyboards typically have a key bearing a broken-bar symbol, which produces a vertical bar.
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 output of each to the input 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). Using the UNIX pipe mechanism, a user is able to quickly and easily build a custom program composed of a (theoretically) unlimited number of small, specialized programs.
e.g. Piped DOS command: type *.txt | more
The role of the character as a DOS operator can result in problems for command line applications such as the SQL Server BCP utility (short for "Bulk Copy Program"), where the user may wish to pass the "|" character to the application as a literal. (For example, when trying to bulk copy a file that uses the | character as a field separator.) In these cases, the ^ character can be used to escape the pipe. For example:
bcp tblImport in ImportFile.txt -c -t^|
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.
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; A–Z and 0–9 account 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.
Remedial history for engineering design & marketing, aka if you build a better mousetrapa[broken (vertical) bar].(Brief Article)(Statistical Data Included)
Jul 17, 2000; The No-Problem Problem posed in the April 17 design class session of Design News was, "Design a 12-speed mountain bike for a...
SEASON OF CHANGE ROCKIES HOPE TO MAKE THE MOST OF THEIR MAKEOVER [broken (vertical) bar]BY TRACY RINGOLSBY.(Special Pullouts)
Feb 14, 2003; The Colorado Rockies continue to look for a winning formula. The emphasis this season is on a return to power hitters, but this...