On Wed, Oct 12, 2005 at 03:43:43PM -0700, Jeremy C. Reed wrote:
> The code in findutils is different for -false and comma "," operator.
> 
> But the use appears to be same for my tests.
> 
> The man page says:
> 
>    expr1 , expr2
>           List;  both  expr1  and expr2 are always evaluated.
>           The value of expr1 is discarded; the value  of  the
>           list is the value of expr2.
> 
> This appears to be same as:
> 
> expr1 -false -o expr2
> 
> What is different for the results of -false test and comma "," operator?

Modulo effects of operator precedence, they are the same, I think.

James.


_______________________________________________
Bug-findutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-findutils

Reply via email to