A common awk usecase for me is testing the output of a program and making sure a line in there exists and prints the expected value. As an example, the line may be pattern
pattern