AWK – Operators

  • Post author:
  • Post category:AWK
  • Post comments:1 Comment
AWK - Operators

This chapter is about AWK – Operators.

Like other programming languages, AWK also provides a large set of operators. This chapter explains AWK operators with suitable examples.

S.No.Operators & Description
1Arithmetic OperatorsAWK supports the following arithmetic operators.
2Increment and Decrement OperatorsAWK supports the following increment and decrement operators.
3Assignment OperatorsAWK supports the following assignment operators.
4Relational OperatorsAWK supports the following relational operators.
5Logical OperatorsAWK supports the following logical operators.
6Ternary OperatorWe can easily implement a condition expression using ternary operator.
7Unary OperatorsAWK supports the following unary operators.
8Exponential OperatorsThere are two formats of exponential operators.
9String Concatenation OperatorSpace is a string concatenation operator that merges two strings.
10Array Membership OperatorIt is represented by in. It is used while accessing array elements.
11Regular Expression OperatorsThis example explains the two forms of regular expressions operators.

To know more, Click Here.

This Post Has One Comment

Leave a Reply