Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!swrinde!ucsd!ogccse!verdix!qtc!battan From: battan@qtc.UUCP (Jim Battan) Newsgroups: comp.unix.questions Subject: Re: find command Summary: bug in SunOS find(1) Message-ID: <532@qtc.UUCP> Date: 28 Nov 89 18:45:27 GMT References: <21544@adm.BRL.MIL> <1989Nov28.043652.4994@virtech.uucp> Reply-To: battan@qtc.UUCP (Jim Battan) Organization: Quantitative Technology Corporation, Beaverton OR Lines: 21 >In article <21544@adm.BRL.MIL>, mchinni@pica.army.mil asks about find(1). Please be aware there's a bug in the SunOS version of find(1). It's known by bug id #1008718 and is scheduled to be fixed in 4.1. Here's the bug report I filed on Feb 18 1988: Description: find doesn't use the -name option when using -depth. Repeat-By: mkdir a cd a touch b c mkdir d touch d/e find . ! -name . -print # gives what it should find . -depth ! -name . -print # still prints "."!! -- Jim Battan {uunet!sequent,sun!nosun}!qtc!battan +1 503 626 3081 Quantitative Technology Corporation (QTC) 8700 SW Creekside Place, Suite D Beaverton, OR 97005