concept awk in category linux

This is an excerpt from Manning's book Linux in Action.
If you ever see a regular user with a user or group ID of 0, then you know there’s something nasty going on, and you should get to work fixing it. The quick and easy way to spot a problem is to run this awk command against the passwd file, which prints any line whose third field contains only a 0. In this case, to my great relief, the only result was root. You can run it a second time substituting $4 for $3 to pick up the group ID field:
As long as the search string is enclosed in forward slashes (/[Warning]/), awk will have no trouble with the brackets. And the sophisticated syntax of awk comes with its own distinct benefits. Take that $3 in the previous example, for instance. By default, awk divides a line of text into individual fields, each separated by one or more spaces. This log entry, for instance, has seven fields:
2017-09-05T04:42:52.294032Z 0 [Note] Shutting down plugin binloggrep interprets the final four words (Shutting down plugin binlog) as four distinct data fields, so it would be hard to figure out a way to usefully search those. But the third field represents the entry’s priority level, so you can run awk with $3 to return only matching results from that field.