This chapter covers different use case examples of text processing and pattern matching with AWK. These examples include some quick one-liner collections for system administrators, that can be directly used inside shell scripts, while performing automation. Some examples are written from the programmers' and data scientists' perspective for dealing with raw data cleaning and reformatting. These sample programs and one-liners are aimed at saving time while carrying out automation, and making AWK programs, clean and more productive.
In this chapter, we will cover the following:
- One-liner collections for text processing and pattern matching with AWK
- Use case examples of pattern matching using AWK