Search Tutorials
The Tutorials in this series are created using BASH 4.2.24 on Ubuntu 16.04. AWK is a language for processing text files. AWK is typically used as a data extraction and reporting tool. It is a standard feature of most Unix-like operating systems. It consists of a set of actions to be taken against streams of textual data for purposes of extracting or transforming text, for eg: producing formatted reports. The language uses the string datatype, associative arrays, and regular expressions. AWK was created at Bell Labs in the 1970s and its name is an acronym derived from the surnames of its authors—Alfred Aho, Peter Weinberger, and Brian Kernighan. Read more
Foss : Linux AWK - English
Outline: Overview of Linux AWK About awk commands AWK Process Glimpse of Spoken Tutorials available on AWK - Basics of AWK - Variables Operators - Conditional Statements - Loops ..
Basic

Foss : Linux AWK - English
Outline: Basics of awk Awk Preliminaries Selection criteria action Formatted printing - printf Fields and -F option Regular expressions NR - number ..
Basic

Foss : Linux AWK - English
Outline: Variables and Operators in Awk -User defined variables -Variable Initialisation -Operators -String Concatenation -String matching operator -Regular expressions -Relationa..
Basic

Foss : Linux AWK - English
Outline: Built-in variables record separator RS output record separator ORS number of records NR number of fields NF field separator FS output field separator OFS FILENAME awk scr..
Basic

Foss : Linux AWK - English
Outline: Conditional statements in awk: What are conditional statements Syntax of conditional statements Defining the rules or conditions to be checked and corresponding actions to be ta..
Basic

Foss : Linux AWK - English
Outline: Loops in awk: Conditional loops in awk for loop while loop do-while loop Search pattern using awk Process data in single and multiple files using next nextfi..
Basic

Foss : Linux AWK - English
Outline: What are Arrays in awk How it is different from arrays in other programming languages Refer the elements of an array Syntax of assigning an array element The index in awk arr..
Basic

Foss : Linux AWK - English
Outline: Using awk array with file Example: To calculate the HRA for all students as per a formula Scan the elements of an array New variation of "for loop" Delete statement Delete..
Basic

Foss : Linux AWK - English
Outline: Definition of multidimensional array in awk Element is identified by a sequence of multiple indices Concatenated into a single string, with a separator between them Create 2 by ..
Basic

Foss : Linux AWK - English
Outline: awk Built-in functions: Arithmetic functions sqrt(x) function int(x) function exp(x) function log(x) natural logarithm function sin(x) and cos(x) function..
Basic

Foss : Linux AWK - English
Outline: Syntax of user defined function Syntax of function call Example to print stipend Explanation of if-else code Explanation of how to call the function Syntax of re..
Basic
