13,420
edits
Changes
→Using the awk Utility
*You can use a '''regular expression''', enclosed within slashes, as a pattern.
*The ''''''~'''''' operator tests whether a field or variable matches a regular expression *The ''''''!~''''''Bold text'''''' operator tests for no match.
*You can perform both numeric and string comparisons using relational operators
*You can combine any of the patterns using the Boolean operators '''||''' (OR) and '''&&''' (AND)