Why use find?

David Elliott dce at smsc.sony.com
Tue Oct 9 06:39:40 AEST 1990


In article <106928 at convex.convex.com>, tchrist at convex.COM (Tom Christiansen) writes:
|> In article <1990Oct7.001518.14216 at diku.dk> kimcm at diku.dk (Kim Christian Madsen) writes:
|> >cpcahil at 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

|> 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?

No, not all.

SVR4 getcwd (not getpwd, which would mean "get print working directory"?)
works just like the BSD version.

So, bitching to some vendors will get you nothing more than "wait for
SVR4".

-- 
...David Elliott
...dce at smsc.sony.com | ...!{uunet,mips}!sonyusa!dce
...(408)944-4073
..."He'll become the Sun.  We must have one you know"  "Oh"



More information about the Comp.unix.shell mailing list