The [[awk]] programming language provides a series of *operators* that allow [[value]]s and [[variable]]s to be compared, evaluated or manipulated. These operators can combined together with [[value]]s and [[variable]]s to make [[expression]]s. The operators may take [[unary]], [[dyadic]] or [[ternary]] form, depending on the number of [[operand]]s that they utilize. == assignment operator As within most other programming languages, the '''equals sign''' acts as a [[dyadic]] operator, [[assign]]ing the value of the [[expression]] of the right hand [[operand]] to the [[variable]] named by the left [[operand]]. == arithmetic operators * [[arithmetic]] operators The [[awk]] programming language provides a standard set of [[arithmetic]] operators for manipulating [[integer]] and [[floating point]] numbers. == string operators * [[string operator]]s == logical operators * [[logical operator]]s The [[logical operator]]s are used to perform [[boolean]] operations, returning either [[true]] or [[false]]. == nudge operators * [[nudge operator]]s == number sign operators * [[number sign operators]] == comparative operators * [[comparative operator]]s == regular expression operators * [[regular expression operator]]s == numeric operators * [[numeric operator]] == comma operator * [[comma]] == redirection operators * [[redirection operator]]s == relationship operators * [[relationship operator]]s == reference operators * [[reference operator]] == dereference operators * [[dereference operator]] == arrow operator * [[arrow operator]] == compound assignment operators * [[compound assignment operator]]s == ternary operators * [[ternary operator]] == Operators not supported in awk == The awk programming language does not support the following operator types: * [[bitwise operator]]s are not supported by traditional awk implementations, but equivalent functions are available as [[gawkism]]s * [[concatenation]] operators * [[exponent]] operator is not supported by traditional awk implementations, but is available as a [[gawkism]] * [[repetition]] operator ---- [[precedence]] [[bracket]]s
Summary:
This change is a minor edit.
Username: