This is an old revision of this page, as edited by Greg Lindahl (talk | contribs) at 06:03, 11 December 2001 (Where does the author get the authority for this claim? Geesh.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Revision as of 06:03, 11 December 2001 by Greg Lindahl (talk | contribs) (Where does the author get the authority for this claim? Geesh.)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)The word foobar might originate in the World War II American Army slang word fubar, which is an abbreviation of "Fucked up beyond all recognition" (describing a very bad situation, e.g., a plan that went wrong) or "... beyond all repair" (for machinery that was destroyed). Fubar was most probably influenced by the German word furchtbar which means terrible or awful.
Later, fubar might have changed to foobar, perhaps by merging it with the word foo, which is a general term of disgust and might originate in the chinese word "fu" (or "foo" 福), meaning happiness. (This is all folk etymology, nobody knows if fubar and foobar are actually related. The Jargon File, for example, gives no origina for foobar.)
Today, foobar is also used as a dummy test word in many descriptions and tutorials of programming languages, where it serves as an example text, e.g., for the division of a string into foo and bar (see metasyntactic variable). Foobar is also used in another form, fugazi, which supposedly resembles a Vietnamese word. Except from the military and computer sciences, the word fubar was never very common until used in the movie Saving Private Ryan (1998).