bug-findutils
[Top][All Lists]
Advanced

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

differences between -false and comma "," operator


From: Jeremy C. Reed
Subject: differences between -false and comma "," operator
Date: Wed, 12 Oct 2005 15:43:43 -0700 (PDT)

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?

Any other use or examples of using comma "," operator that is different from "-false -o"

Also, do you know of any other implementations of find(1) that provide the "," comma operator?

Please carbon-copy me on replies.

Thanks,

 Jeremy C. Reed

                         technical support & remote administration
                         http://www.pugetsoundtechnology.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]