Take the 2-minute tour ×
English Language & Usage Stack Exchange is a question and answer site for linguists, etymologists, and serious English language enthusiasts. It's 100% free, no registration required.

I have a book about punctuation marks, but it doesn't report when to use | in a English sentence.

I notice that the New Oxford American Dictionary uses that character to separate the examples it reports. Are there other uses of | in a sentence written outside specific contexts?

share|improve this question
add comment

4 Answers

up vote 18 down vote accepted

You never use it in an English sentence. It is — as you've noticed in your dictionary — used in concise-format publications to take the place of words or more-space-taking formatting. It's also used in mathematics and pseudocode. But never in an English sentence.

share|improve this answer
10  
Not just pseudo-code, but 'actual' code too. || is used in c-like languages as the OR operator. –  billynomates Feb 2 '11 at 11:09
3  
And bash scripting - for piping the output of one command to another command. –  Matt Эллен Feb 2 '11 at 12:23
2  
@billynomaates @Matt Ellen, yes, sure, | is used in shell scripts and other scripts and programs. I mentioned pseudocode and mathematics simply because they seemed to me most similar to running text, or most inclusible into running text, as in "if 3|x and 2|x then 6|x" and "make sure your function is called if variableOne | variableTwo". –  msh210 Feb 2 '11 at 22:02
add comment

I have noticed in some technical manuals, the pipe being used as a delimiter on menu interactions. For example: Edit|Copy. I used to use this as well but have since moved to using Edit>Copy instead as it feels more like a flow of commands, especially when the interactions are long and mix menus and tabs (for example: System>Preferences>Network>IP).

share|improve this answer
add comment

The vertical bar | is a piece of typography which only has meaning in specific contexts.

Personally, if I used it alone (rather than in pairs), I would probably wither be using it in the mathematical sense of divides as in "2 | n2 + n" (i.e. two divides n-squared plus n) or in the probability sense of given as in "Pr(3 heads from 3 flips|at least 2 from 3) = 1/4" (i.e. the probability of three heads from three flips given at least two from three is a quarter). There are many more uses, including as a list separator.

share|improve this answer
    
+1 for naming the character and providing a link to an article with additional accepted names. –  sarah Dec 3 '11 at 10:12
add comment

The | character is not part of English punctuation. You will notice that in places where it is used, such as the dictionary, near the preface you will see a section titled "How to use this dictionary" explaining the meaning of the | as used in this dictionary.

share|improve this answer
    
So what is the meaning of | in a dictionary? –  Hugo Aug 31 '11 at 7:46
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.