March 2018
Beginner to intermediate
416 pages
9h 24m
English
The string enclosed between \y and \y should not occur as a sub-string of a word in a line. If \y is used at the beginning, it matches the empty string at the beginning. If \y used at the end, it matches the empty string at the end. For example:
$ awk '/\ystart\y/' gopr.txt
The output on execution of the preceding code is as follows:
startstart end
Read now
Unlock full access