Introduction
Welcome
()
What you should know before watching this course
()
Using the exercise files
()
1. What Is AWK?
What is awk?
()
2. AWK Command Line Basics
Using AWK command line flags
()
Writing an AWK program
()
Working with records, fields, patterns, and actions
()
3. Understanding Records and Fields
Exploring basic input field separators
()
Challenge: Change a CSV file to a tab-separated one
()
Solution: Change a CSV file to a tab-separated one
()
Specifying field and record separators with variables
()
4. Understanding Variables and Operators
Working with operators and arrays
()
Using built-in variables
()
Creating user-defined variables
()
5. A Quick Introduction to Regular Expressions
Regular expression basics
()
Working with character classes and quantifiers
()
6. Using Control Structures
Challenge: Print only those lines consisting of a complete HTML entity
()
Solution: Print only those lines consisting of a complete HTML entity
()
Building control structures
()
Creating an HTML table
()
7. Formatting the Output
Formatting output with printf()
()
Formatting output with width and precision specifiers
()
8. Functions and Arrays
Introducing awk's math functions
()
Manipulating strings
()
Using associative arrays
()
9. Combining AWK with Other Tools
Parsing Excel CSV files: line endings and quoting
()
Parsing Excel CSV files: commas and newlines
()
Challenge: Perform a join
()
Solution: Perform a join
()
Using pipes
()
Scripting with AWK
()
Ex_Files_AWK_EssT.zip
(102 KB)
Glossary_AWK_EssT_2022.zip
(21 KB)