Re: 'find' command

Martin J. Dellwo (r06a661@bcc26.kodak.com)
Thu, 13 Jan 1994 08:44:31 -0500 (EST)

>
> The problem is not with the find command but with way you are trying
> to list the files found. The find command as written will find both
> files and directories. If the {} evaluates to a directory then the
> "ls -l" command will list the _contents_ of the directory...

Thanks also to Alan Kenwright for pointing this out.

> (BTW all these commands behave the same on X32s, Suns, and SGIs.)

I really didn't think this was the case at first, but it turns out it
is in fact true. Actually, I was only doing the -exec ls -l to
confirm that the right files were being gotten. Turns out the 'find'
command is useless for what I really wanted to do. But I must say the
apparent lack of a '!' (negation) operator and '-o' (or) operator
makes it even more useless... eg:

find . !(\ -user root -o -user bin \) ...

-Marty

-- 
Martin J. Dellwo     (215) 983-7396
E-mail:  r06a661@bcc26.kodak.com, mdellwo@Kodak.COM
Biophysics and Computational Chemistry
Sterling Winthrop Pharmaceuticals Research Division