[Chapter 11] 11.5 Operators
Author: Daniel Gilly & the Staff of O'Reilly & Associates
Date: 1998-08-06T22:00:21Z

#

| Chapter 11 The Awk Scripting Language |

## 11.5 Operators

The table below lists the operators, in order of increasing precedence, that are available in awk.

Symbol | Meaning
--- | ---
= =+ -= *= /= %= ^= | Assignment.
?: | C conditional expression (nawk and gawk).
|| | Logical OR.
&& | Logical AND.
~ !~ | Match regular expression and negation.
< <= > >= != == | Relational operators.
(blank) | Concatenation.
+ - | Addition, subtraction.
* / % | Multiplication, division, and modulus.
+ - ! | Unary plus and minus, and logical negation.
^ | Exponentiation.
++ -- | Increment and decrement, either prefix or postfix.
$ | Field reference.

11.4 Awk System Variables |  | 11.6 Variables and Array Assignments