O'Reilly logo

Learning AWK Programming by Shiwang Kalkhanda

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Matching at the end of a word 

Matches a string at the end of a word. The string preceded by '\>' should mark the end of the word. It should not be followed by any character. For example, 'start\>' will match restart or bigstart, but not starting or started, as follows:

$ awk '/start\>/' gopr.txt

The output on execution of the preceding code is as follows:

startstart end

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required