How to use regular expressions in awk

Posted by bob on Nov 19, 2019 11:47 AM EDT
Opensource.com
Mail this story
Print this story

In awk, regular expressions (regex) allow for dynamic and complex pattern definitions. You're not limited to searching for simple strings but also patterns within patterns. The syntax for using regular expressions to match lines in awk is: word ~ /match/The inverse of that is not matching a pattern: read more

Full Story

  Nav
» Read more about: Story Type: News Story

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.