Linux News
The world is talking about GNU/Linux and Free/Open Source Software
How to use regular expressions in awk
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 |
This topic does not have any threads posted yet!
You cannot post until you login.