🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1421

Re: Why use find?

#1421
From: Tom Christiansen
Date: Sun, 07 Oct 1990 06:04
21 lines
1517 bytes
In article <1990Oct7.001518.14216@diku.dk> kimcm@diku.dk (Kim Christian Madsen) writes:
>cpcahil@virtech.uucp (Conor P. Cahill) writes:
>Maybe not on your system, but on my system (a SYSV) system, find perfoms
>a getpwd(3C) each time it enters a directory, and getpwd(3) is by
>standard implemented by forking a shell to do a pwd(1) in oorder to
>get the result ... This makes it slow.

What an idiotic way to implement that function.  It's also 
stupid of whoever sent out such a hopelessly slow version 
of find without optimizing that.  Bitch at your vendor.
Are all AT&T versions really this dumb?

>How about grouping selection criterias and the precedence of the -a and
>-o (and & or) operators when grouping selection criterias ???

Ug.  1 criterion.  2 or more criteria.  Never criterias.  

--tom
--
 "UNIX was never designed to keep people from doing stupid things, because 
  that policy would also keep them from doing clever things." [Doug Gwyn]
Technical Details
Message-ID: <106928@convex.convex.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!sun-barr!cs.utexas.edu!radar!milano!bigtex!texsun!convex!convex.COM
References: <1990Oct5.145825.9454@diku.dk> <1990Oct06.011438.8265@virtech.uucp> <1990Oct7.001518.14216@diku.dk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!sun-barr!cs.utexas.edu!radar!milano!bigtex!texsun!convex!convex.COM
From: tchrist@convex.COM (Tom Christiansen)
Newsgroups: comp.unix.shell
Subject: Re: Why use find?
Message-ID: <106928@convex.convex.com>
Date: 7 Oct 90 06:04:04 GMT
References: <1990Oct5.145825.9454@diku.dk> <1990Oct06.011438.8265@virtech.uucp> <1990Oct7.001518.14216@diku.dk>
Sender: usenet@convex.com
Reply-To: tchrist@convex.COM (Tom Christiansen)
Organization: CONVEX Software Development, Richardson, TX
Lines: 21