[Top][All Lists]

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

list (comma) operator

From: john43
Subject: list (comma) operator
Date: Wed, 18 Jun 2003 18:32:48 -0400


The manual says that the list operator evaluates to the value
of its right-most operand. However, I'm seeing the opposite:

$ touch a b
$ find  '(' -name a , -name b ')' -print

>From the manual: (GNU find version 4.1)

   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.


reply via email to

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