Why use find? (Was: Can U pipe filenames to rm???)

James Brister brister at decwrl.dec.com
Sun Oct 7 04:15:44 AEST 1990


On 6 Oct 90 01:14:38 GMT, cpcahil at 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 at decwrl.dec.com
DEC Western Software Lab., Palo Alto, CA    {uunet,sun,pyramid}!decwrl!brister



More information about the Comp.unix.shell mailing list