- AWK Tutorial
- AWK - Home
- AWK - Overview
- AWK - Environment
- AWK - Workflow
- AWK - Basic Syntax
- AWK - Basic Examples
- AWK - Built in Variables
- AWK - Operators
- AWK - Regular Expressions
- AWK - Arrays
- AWK - Control Flow
- AWK - Loops
- AWK - Built in Functions
- AWK - User Defined Functions
- AWK - Output Redirection
- AWK - Pretty Printing
- AWK Useful Resources
- AWK - Quick Guide
- AWK - Useful Resources
- AWK - Discussion
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
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|
AWK supports the following arithmetic operators.
|2||Increment and Decrement Operators
AWK supports the following increment and decrement operators.
AWK supports the following assignment operators.
AWK supports the following relational operators.
AWK supports the following logical operators.
We can easily implement a condition expression using ternary operator.
AWK supports the following unary operators.
There are two formats of exponential operators.
|9||String Concatenation Operator
Space is a string concatenation operator that merges two strings.
|10||Array Membership Operator
It is represented by in. It is used while accessing array elements.
|11||Regular Expression Operators
This example explains the two forms of regular expressions operators.