rfc3092.txt

来自「RFC 的详细文档!」· 文本 代码 · 共 788 行 · 第 1/2 页

TXT
788
字号






Network Working Group                                    D. Eastlake 3rd
Request for Comments: 3092                                      Motorola
Category: Informational                                        C. Manros
                                                                   Xerox
                                                              E. Raymond
                                                  Open Source Initiative
                                                            1 April 2001


                           Etymology of "Foo"

Status of this Memo

   This memo provides information for the Internet community.  It does
   not specify an Internet standard of any kind.  Distribution of this
   memo is unlimited.

Copyright Notice

   Copyright (C) The Internet Society (2001).  All Rights Reserved.

Abstract

   Approximately 212 RFCs so far, starting with RFC 269, contain the
   terms `foo', `bar', or `foobar' as metasyntactic variables without
   any proper explanation or definition.  This document rectifies that
   deficiency.

Table of Contents

   1. Introduction............................................1
   2. Definition and Etymology................................2
   3. Acronyms................................................5
   Appendix...................................................7
   Security Considerations...................................11
   References................................................12
   Authors' Addresses........................................13
   Full Copyright Statement..................................14

1. Introduction

   Approximately 212 RFCs, or about 7% of RFCs issued so far, starting
   with [RFC269], contain the terms `foo', `bar', or `foobar' used as a
   metasyntactic variable without any proper explanation or definition.
   This may seem trivial, but a number of newcomers, especially if
   English is not their native language, have had problems in
   understanding the origin of those terms.  This document rectifies
   that deficiency.



Eastlake, et al.             Informational                      [Page 1]

RFC 3092                   Etymology of "Foo"               1 April 2001


   Section 2 below describes the definition and etymology of these words
   and Section 3 interprets them as acronyms.

   As an Appendix, we include a table of RFC occurrences of these words
   as metasyntactic variables.

2. Definition and Etymology

   bar /bar/ n. [JARGON]

   1. The second metasyntactic variable, after foo and before baz.
      "Suppose we have two functions: FOO and BAR.  FOO calls BAR...."

   2. Often appended to foo to produce foobar.

   foo /foo/

   1. interj.  Term of disgust.

   2. Used very generally as a sample name for absolutely anything, esp.
      programs and files (esp. scratch files).

   3. First on the standard list of metasyntactic variables used in
      syntax examples (bar, baz, qux, quux, corge, grault, garply,
      waldo, fred, plugh, xyzzy, thud). [JARGON]

      When used in connection with `bar' it is generally traced to the
      WW II era Army slang acronym FUBAR (`Fucked Up Beyond All
      Repair'), later modified to foobar.  Early versions of the Jargon
      File [JARGON] interpreted this change as a post-war
      bowdlerization, but it now seems more likely that FUBAR was itself
      a derivative of `foo' perhaps influenced by German `furchtbar'
      (terrible) - `foobar' may actually have been the original form.

      For, it seems, the word `foo' itself had an immediate prewar
      history in comic strips and cartoons.  In the 1938 Warner Brothers
      cartoon directed by Robert Clampett, "The Daffy Doc", a very early
      version of Daffy Duck holds up a sign saying "SILENCE IS FOO!"
      `FOO' and `BAR' also occurred in Walt Kelly's "Pogo" strips.  The
      earliest documented uses were in the surrealist "Smokey Stover"
      comic strip by Bill Holman about a fireman.  This comic strip
      appeared in various American comics including "Everybody's"
      between about 1930 and 1952.  It frequently included the word
      "FOO" on license plates of cars, in nonsense sayings in the
      background of some frames such as "He who foos last foos best" or
      "Many smoke but foo men chew", and had Smokey say "Where there's
      foo, there's fire".  Bill Holman, the author of the strip, filled
      it with odd jokes and personal contrivances, including other



Eastlake, et al.             Informational                      [Page 2]

RFC 3092                   Etymology of "Foo"               1 April 2001


      nonsense phrases such as "Notary Sojac" and "1506 nix nix".
      According to the Warner Brothers Cartoon Companion [WBCC] Holman
      claimed to have found the word "foo" on the bottom of a Chinese
      figurine.  This is plausible; Chinese statuettes often have
      apotropaic inscriptions, and this may have been the Chinese word
      `fu' (sometimes transliterated `foo'), which can mean "happiness"
      when spoken with the proper tone (the lion-dog guardians flanking
      the steps of many Chinese restaurants are properly called "fu
      dogs") [PERS].  English speakers' reception of Holman's `foo'
      nonsense word was undoubtedly influenced by Yiddish `feh' and
      English `fooey' and `fool'. [JARGON, FOLDOC]

      Holman's strip featured a firetruck called the Foomobile that rode
      on two wheels.  The comic strip was tremendously popular in the
      late 1930s, and legend has it that a manufacturer in Indiana even
      produced an operable version of Holman's Foomobile.  According to
      the Encyclopedia of American Comics [EAC], `Foo' fever swept the
      U.S., finding its way into popular songs and generating over 500
      `Foo Clubs.' The fad left `foo' references embedded in popular
      culture (including the couple of appearances in Warner Brothers
      cartoons of 1938-39) but with their origins rapidly forgotten.
      [JARGON]

      One place they are known to have remained live is in the U.S.
      military during the WWII years.  In 1944-45, the term `foo
      fighters' [FF] was in use by radar operators for the kind of
      mysterious or spurious trace that would later be called a UFO (the
      older term resurfaced in popular American usage in 1995 via the
      name of one of the better grunge-rock bands [BFF]).  Informants
      connected the term to the Smokey Stover strip [PERS].

      The U.S. and British militaries frequently swapped slang terms
      during the war.  Period sources reported that `FOO' became a
      semi-legendary subject of WWII British-army graffiti more or less
      equivalent to the American Kilroy [WORDS].  Where British troops
      went, the graffito "FOO was here" or something similar showed up.
      Several slang dictionaries aver that FOO probably came from
      Forward Observation Officer, but this (like the contemporaneous
      "FUBAR") was probably a backronym [JARGON].  Forty years later,
      Paul Dickson's excellent book "Words" [WORDS] traced "Foo" to an
      unspecified British naval magazine in 1946, quoting as follows:

         "Mr. Foo is a mysterious Second World War product, gifted with
         bitter omniscience and sarcasm."

      Earlier versions of the Jargon File suggested the possibility that
      hacker usage actually sprang from "FOO, Lampoons and Parody", the
      title of a comic book first issued in September 1958, a joint



Eastlake, et al.             Informational                      [Page 3]

RFC 3092                   Etymology of "Foo"               1 April 2001


      project of Charles and Robert Crumb.  Though Robert Crumb (then in
      his mid-teens) later became one of the most important and
      influential artists in underground comics, this venture was hardly
      a success; indeed, the brothers later burned most of the existing
      copies in disgust.  The title FOO was featured in large letters on
      the front cover.  However, very few copies of this comic actually
      circulated, and students of Crumb's `oeuvre' have established that
      this title was a reference to the earlier Smokey Stover comics.
      The Crumbs may also have been influenced by a short-lived Canadian
      parody magazine named `Foo' published in 1951-52. [JARGON]

      An old-time member reports that in the 1959 "Dictionary of the
      TMRC Language", compiled at TMRC (the Tech Model Railroad Club at
      MIT) there was an entry for Foo.  The current on-line version, in
      which "Foo" is the only word coded to appear red, has the
      following [TMRC]:

         Foo:  The sacred syllable (FOO MANI PADME HUM); to be spoken
         only when under obligation to commune with the Deity. Our first
         obligation is to keep the Foo Counters turning.

      This definition used Bill Holman's nonsense word, then only two
      decades old and demonstrably still live in popular culture and
      slang, to make a "ha ha only serious" analogy with esoteric
      Tibetan Buddhism.  Today's hackers would find it difficult to
      resist elaborating a joke like that, and it is not likely 1959's
      were any less susceptible. [JARGON]

   4. [EF] Prince Foo was the last ruler of Pheebor and owner of the
      Phee Helm, about 400 years before the reign of Entharion.  When
      Foo was beheaded by someone he called an "eastern fop" from
      Borphee, the glorious age of Pheebor ended, and Borphee rose to
      the prominence it now enjoys.

   5. [OED] A 13th-16th century usage for the devil or any other enemy.
      The earliest citation it gives is from the year 1366, Chaucer A B
      C (84): "Lat not our alder foo [devil] make his bobance [boast]".
      Chaucer's "Foo" is probably related to modern English "foe".

   6. Rare species of dog.

      A spitz-type dog discovered to exist after having long been
      considered extinct, the Chinese Foo Dog, or Sacred Dog of
      Sinkiang, may have originated through a crossing of Northern
      European hunting dogs and the ancient Chow Chow from Mongolia or
      be the missing link between the Chinese Wolf and the Chow Chow.
      It probably derives its name from foochow, of the kind or style




Eastlake, et al.             Informational                      [Page 4]

RFC 3092                   Etymology of "Foo"               1 April 2001


      prevalent in Foochow, of or from the city of Foochow (now Minhow)
      in southeast China. [DOG]

   foobar n.

      [JARGON] A widely used metasyntactic variable; see foo for
      etymology.  Probably originally propagated through DECsystem
      manuals by Digital Equipment Corporation (DEC) in 1960s and early
      1970s; confirmed sightings there go back to 1972.  Hackers do not
      generally use this to mean FUBAR in either the slang or jargon
      sense.  It has been plausibly suggested that "foobar" spread among
      early computer engineers partly because of FUBAR and partly
      because "foo bar" parses in electronics techspeak as an inverted
      foo signal.

   foo-fighter n.

      World War II term for Unidentified Flying Objects (UFOs) noted by
      both German and British military.  See [FF] and entry above for
      "foo".

3. Acronyms

   The following information is derived primarily from the compilations
   at University Cork College <http://www.ucc.ie/acronyms> and Acronym
   Finder <http://www.AcronymFinder.com> generally filtered for computer
   usage.

   .bar:

      Generic file extension which is not meant to imply anything about
      the file type.

   BAR:

      Base Address Register

      Buffer Address Register

   FOO:

      Forward Observation Observer.

      FOO Of Oberlin.  An organization whose name is a recursive
      acronym.  Motto: The FOO, the Proud, the FOO.  See
      <http://cs.oberlin.edu/students/jmankoff/FOO/home.html>.

      File Open for Output.  An NFILE error code [RFC1037].



Eastlake, et al.             Informational                      [Page 5]

RFC 3092                   Etymology of "Foo"               1 April 2001


   FOOBAR:

      FTP Operation Over Big Address Records [RFC1639].  (Particularly
      appropriate given that the first RFC to use "foo", [RFC269], was
      also about file transfer.)

   FUBAR:

      Failed UniBus Address Register - in a VAX, from Digital Equipment
      Corporation Engineering.

      Fucked Up Beyond All Recognition/Repair - From US Military in
      World War II.  Sometimes sanitized to "Fouled Up ...".

   FUBARD - Past tense of FUBAR.




































Eastlake, et al.             Informational                      [Page 6]

RFC 3092                   Etymology of "Foo"               1 April 2001


Appendix

   Below is a table of RFC occurrences of these words as metasyntactic
   variables.  (This excludes other uses that are reasonably clear like
   "vertical bar" or "bar BoF".)  Many of these uses are for example
   domain names.  That usage may decrease with the specification in [RFC
   2606] of a Best Current Practice for example domain names.

   +------+-----+-----+---------+-------+-----+
   | RFC# | bar | foo | foo.bar | fubar |  #  |
   |      |     |     | foobar  |       |     |
   +------+-----+-----+---------+-------+-----+
   |  269 |  X  |  X  |         |       |   1 |
   |  441 |  X  |  X  |         |       |   2 |
   |  614 |     |  X  |         |       |   3 |
   |  686 |     |  X  |         |       |   4 |
   |  691 |     |  X  |         |       |   5 |
   |  733 |  X  |  X  |         |       |   6 |
   |  742 |     |  X  |         |       |   7 |
   |  743 |  X  |  X  |         |       |   8 |
   |  756 |     |  X  |         |       |   9 |
   |  765 |  X  |  X  |         |       |  10 |
   |  772 |  X  |  X  |         |   X   |  11 |
   |  775 |     |     |    X    |       |  12 |
   |  780 |  X  |  X  |         |   X   |  13 |
   |  788 |  X  |  X  |         |       |  14 |
   |  810 |  X  |  X  |    X    |       |  15 |
   |  819 |     |  X  |         |       |  16 |
   |  821 |  X  |  X  |         |       |  17 |
   |  822 |  X  |  X  |         |       |  18 |
   |  882 |  X  |  X  |         |       |  19 |
   |  883 |     |  X  |         |       |  20 |
   |  897 |  X  |  X  |         |       |  21 |
   |  913 |     |  X  |         |       |  22 |
   |  921 |  X  |  X  |         |       |  23 |
   |  934 |     |  X  |         |       |  24 |
   |  952 |  X  |  X  |    X    |       |  25 |
   |  959 |     |     |    X    |       |  26 |
   |  976 |     |     |    X    |       |  27 |
   |  977 |     |  X  |    X    |       |  28 |
   |  987 |     |     |    X    |       |  29 |
   | 1013 |     |  X  |         |       |  30 |
   | 1033 |  X  |  X  |         |       |  31 |
   | 1035 |     |  X  |         |       |  32 |
   | 1037 |     |  X  |         |       |  33 |
   | 1056 |  X  |  X  |    X    |       |  34 |
   | 1068 |     |  X  |         |       |  35 |
   | 1137 |     |     |    X    |       |  36 |



Eastlake, et al.             Informational                      [Page 7]

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?