Filename length statistics

Brandon S. Allbery allbery at ncoast.ORG
Tue Jun 20 08:57:04 AEST 1989


As quoted from <8192 at boring.cwi.nl> by dik at cwi.nl (Dik T. Winter):
+---------------
| In article <14752 at duke.cs.duke.edu> bet at orion.mc.duke.edu (Bennett Todd) writes:
|  > misinformation. Find(1) is of course smart enough to refrain from
|  > reporting "." and ".."; indeed,
| ...
| Wrongo again.  Of course find is smart enough to include ".".
+---------------

Sigh.  Find includes "." ONLY if you say "find . (...)".  ONE instance,
maximum.  (If you were correct then find would have output like:

		/foo/bar
		/foo/bar/.
		/foo/bar/baz
		...

and watch everything that uses find break!)

++Brandon
-- 
Brandon S. Allbery, moderator of comp.sources.misc	     allbery at ncoast.org
uunet!hal.cwru.edu!ncoast!allbery		    ncoast!allbery at hal.cwru.edu
      Send comp.sources.misc submissions to comp-sources-misc@<backbone>
NCoast Public Access UN*X - (216) 781-6201, 300/1200/2400 baud, login: makeuser



More information about the Comp.unix.wizards mailing list