Skip to content

Instantly share code, notes, and snippets.

@tammersaleh
Created April 1, 2009 15:03
Show Gist options
  • Save tammersaleh/88727 to your computer and use it in GitHub Desktop.
Save tammersaleh/88727 to your computer and use it in GitHub Desktop.
OPERATORS
The primaries may be combined using the following operators. The operators are listed in order of decreasing
precedence.
( expression ) This evaluates to true if the parenthesized expression evaluates to true.
! expression
-false expression
-not expression
This is the unary NOT operator. It evaluates to true if the expression is false.
expression -and expression
expression expression
The -and operator is the logical AND operator. As it is implied by the juxtaposition of two
expressions it does not have to be specified. The expression evaluates to true if both expres-
sions are true. The second expression is not evaluated if the first expression is false.
expression -or expression
The -or operator is the logical OR operator. The expression evaluates to true if either the
first or the second expression is true. The second expression is not evaluated if the first
expression is true.
All operands and primaries must be separate arguments to find. Primaries which themselves take arguments
expect each argument to be a separate argument to find.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment