Re: find with -print0 returns incorrect results

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 11 Dec 2007, Rick Stevens wrote:

> Glad to hear it.  BTW, the evaluation order is significant with an
> optimized system.  In a chain of "ands" such as "a and b and c", if a is
> true and b is false, there's no reason to even evaluate c, since the
> proposition is already false.  Most systems take advantage of that to
> speed execution.  Yes, it technically violates Boole's laws, but what
> the heck?

Not really.
Boole's laws don't say anything about the amount
of work one is supposed to do to get an answer.
In any case, it's find's laws that matter and
the find documentation is clear on the subject.
-and is roughly the && of C and
-or is roughly the || of C.

-- 
Mike   hennebry@xxxxxxxxxxxxxxxxxxxxx
"Horse guts never lie."  -- Cherek Bear-Shoulders


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux