March 2018
Beginner to intermediate
416 pages
9h 24m
English
Regular expressions are used as string-matching patterns with AWK in the following three ways. We use the '~' and '! ~' match operators to perform regular expression comparisons:
$ awk '/mail/' emp.dat
The output on execution of this code is as follows:
Jack Singh 9857532312 ...
Read now
Unlock full access