Results 1 to 5 of 5
What is the "foo" and "bar" mentioned in the "makefile"s?...
- 02-25-2005 #1Linux Newbie
- Join Date
- Oct 2004
- Posts
- 139
"foo" and "bar" question
What is the "foo" and "bar" mentioned in the "makefile"s?
- 02-25-2005 #2Linux Guru
- Join Date
- May 2004
- Location
- forums.gentoo.org
- Posts
- 1,814
Those are fake names used for the purpose of demonstrating how something is done. If I wanted to explain how to use the grep command, I might demonstrate by grepping the word "foo" in the file "bar" so the command line would be
If you replace the fake "foo" with "/dev/sda6" and the fake "bar" with "/etc/fstab", that would be equivalent toCode:$ grep foo bar
and if you run that on my system, you will get:Code:$ grep /dev/sda6 /etc/fstab
For the historical perspective, foo and bar come from a single word foobar, which is a corruption of the word fubar, which is an aconym for "f*d up beyond all recognition" which apparently was a common state for computers in earlier times.Code:$ grep /dev/sda6 /etc/fstab /dev/sda6 swap swap defaults 0 0
/IMHO
//got nothin'
///this use to look better
- 02-25-2005 #3Linux Enthusiast
- Join Date
- Jun 2004
- Location
- Windsor, CO
- Posts
- 656
A fake name for something used in examples:
i.e. foo/foobar/bar etc.
I have no idea where it came from though.Emotions are the key to the soul.
Registered Linux User #375050
- 02-25-2005 #4
"For the historical perspective, foo and bar come from a single word foobar, which is a corruption of the word fubar, which is an aconym for "f*d up beyond all recognition" which apparently was a common state for computers in earlier times."
Yes, computers are NEVER fubar'ed in this day and age
There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.
- Jeremy S. Anderson
- 02-25-2005 #5Linux User
- Join Date
- Feb 2005
- Posts
- 290
lol !! i tot it was just as simple as "/blablabla/blablabla" din know it actually has a story!! ahahahahahaa LMAO"For the historical perspective, foo and bar come from a single word foobar, which is a corruption of the word fubar, which is an aconym for "f*d up beyond all recognition" which apparently was a common state for computers in earlier times."
Yes, computers are NEVER fubar'ed in this day and age


Reply With Quote