Related sites: | [site updates][13] | [site map][14] |
# [/sys/doc/ Documentation archive][15]
Sections:
*›[ bell labs/][16]
*›[ economics/][17]
*›[ feynman/][18]
*›[ henry spencer/][19]
*›[ inferno/][20]
*›[ plan 9/][21]
*›[ political science/][22]
*›[ programming/][23]
* »[_ unix/_][24]
* * ›[ exit mpx/][25]
* »[_ find history_][26]
*›[ for poets/][27]
*›[ oral history/][28]
*›[ pipes/][29]
*›[ proc/][30]
*›[ typesetting/][31]
*›[ unix before berkeley/][32]
*›[ unix reader/][33]
*›[ v0/][34]
*›[ v10/][35]
*›[ v6/][36]
*›[ v8/][37]
*›[ xml/][38]
# The History of the Design of Unix’s Find Command
The full explanation for [find(1)][39]’s bizarre design is still a mystery, but this fun little story, and [Dennis Ritchie][40]’s answer, shines some light on it:
Dear Mr. Ritchie,
I heard a story from a guy in a UNIX sysadmin class, and was wondering
if it was true.
The guy in this class told of a co-worker of his who was in a UNIX training
class that got involved in UNIX bashing. You know, like why is the -i option
for grep mean ignore case, and the -f option for sort mean ignore case, and so
on. Well, the instructor of the course decided to chime in and said something
like this:
"Here's another good example of this problem with UNIX. Take the find
command for example. WHAT idiot would program a command so that you have to
say -print to print the output to the screen. What IDIOT would make a command
like this and not have the output go to the screen by default."
And the instructor went on and on, and vented his spleen...
The next morning, one of the ladies in the class raised here hand, the
instructor called on her, and she proceeded to say something like this:
"The reason my father programmed the find command that way, was because he
was told to do so in his specifications."
I've always wondered if this story was true, and who it was who wrote
the find command. In the Oct. 94 issue of Byte they had an article on "UNIX
at 25" which said that Dick Haight wrote the find command along with cpio,
expr, and a lot of the include files for Version 7 of UNIX. I don't know
where to send this message directly to Dick Haight, and I would appreciate it
if you would forward it to him, if you are able. If you can't, well then I
hope you liked the story. I got your mail address from "The UNIX Haters
Handbook", and would like to add this to your Anti-Forward:
Until that frozen day in HELL occurs, and the authors of that book write
a better operating system, I'm sticking with UNIX.
Sincerely,
Dan Bacus
nsc@edge.ercnet.com.
--------------------------
From daemon Thu Feb 9 02:22 GMT 1995
Return-Path: dmr@plan9.research.att.com
Received: from plan9.research.att.com ([192.20.225.252]) by nscsgi.nscedu.com (8.6