EPUB1 Arithmetic Operators AWK supports the following arithmetic operators. 2 Increment and Decrement Operators AWK supports the following increment and decrement operators. 3 Assignment Operators AWK supports the following assignment operators. 4 Relational Operators AWK supports the following relational operators. 5 Logical Operators AWK supports the following logical operators. 6 Ternary Operator We can easily implement a condition expression using the ternary operator. 7 Unary Operators AWK supports the following unary operators. 8 Exponential 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. AWK - Regular Expressions AWK is very powerful and efficient in handling regular expressions. A number of complex tasks can be solved with simple regular expressions. Any command-line expert knows the power of regular expressions. This chapter covers standard regular expressions with suitable examples. Dot It matches any single character except the end of line character. For instance, the following example matches fin, fun, fan etc. Example [ jerry ] $ echo - e "catnbatfunfunfun" | awk '/f.n/' On executing the above code, you get the following result − Output fun fin fan Start of lin
Rate this eBook
| File Name: | 56305f52545949c046905f4da08d57ac.epub |
| Original Title: | AWK Programming Language: Learn AWK Interpreted Programming Language Basics |
| Creator / Author: | Panchtilak, Kavishankar |
| Language: | English (en) |
| Identifier: | ASIN:221869 |
| Publisher: | Panchtilak, Kavishankar Publishing |
| Category: | Computer Science & Programming |
| Format: | 📗 EPUB eBook |
| File Size: | 3.5 MB |
-2.jpeg)

-12.jpeg)

-1.jpeg)