Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rutgers!mcnc!decvax.dec.com!bacchus.pa.dec.com!decwrl!brister From: brister@decwrl.dec.com (James Brister) Newsgroups: comp.unix.shell Subject: Re: Why use find? (Was: Can U pipe filenames to rm???) Message-ID: Date: 6 Oct 90 18:15:44 GMT References: <28790001@col.hp.com> <1977@sixhub.UUCP> <1990Sep30.182331.14363@iconsys.uucp> <941@hls0.hls.oz> <1990Oct5.145825.9454@diku.dk> <1990Oct06.011438.8265@virtech.uucp> Sender: news@wrl.dec.com (News) Organization: DEC Western Software Lab Lines: 14 In-Reply-To: cpcahil@virtech.uucp's message of 6 Oct 90 01:14:38 GMT X-Checksum-Snefru: 912b8c71 39a84b2f 71db2095 75a378db On 6 Oct 90 01:14:38 GMT, cpcahil@virtech.uucp (Conor P. Cahill) said: > Find, in itself, is not slow. The exec of a new process (the rm in this > case) for every file found is *SLOW*. Obviously, if you already have the > list of files you don't need to run find to get them again. This is true, but compared to VMS process creation, it's lightening fast. (All "VMS is better than UNIX remarks" can go to /dev/null or direct mail to me). James "A VMS programmer in a former life" -- James Brister brister@decwrl.dec.com DEC Western Software Lab., Palo Alto, CA {uunet,sun,pyramid}!decwrl!brister