AWK on Unix Programming – UNX300 – 2-Days
The objective of this course is to develop the Unix programming skills required to write applications using the AWK programming language.
AWK on Unix Programming – UNX300 – 2 Days Request a Class Date
The objective of this course is to develop the programming skills required to write applications using the AWK programming language.
Course ID: UNX300 Duration: 2 days
Audience: Unix system application developers, administrators, and advanced users.
Prerequisites: The ability to write programs in a high level language (such as C or shell) is very helpful in completing the lab exercises and understanding the lectures. A good working knowledge of the UNIX environment is necessary.
AWK Programming Training Course Topics
- Introduction to awk
- How awk Programs Work
- Running awk Programs
- Examples
Patterns
- Summary and Patterns
- BEGIN and END
- Expressions
- String-Matching Patterns
- Extended REs in awk
- Range Patterns
Actions
- awk Actions
- Expressions
- Operators
- Flow Control
- More Flow Control
- The next, break, continue, and exit statements
- Built-in Variables
Input and Output
- Formatted Output with printf
- Output into Files
- Output into Pipes
- Input Separators
- Multi-Line Records
- The getline Function
- More getline
- Passing Parameters into a Script
Functions
- Built-In Arithmetic Functions
- Built-In String Functions
- More String Functions
- User Defined Functions
- Local Variables
Arrays
- Arrays
- Associative Arrays
- The Array for Statement
- The Array in Operator
- Deleting Array Elements
- The Split Function
- Multi-Dimensional Arrays
- Command Line Parameter Passing