SyntaxFix
Write A Post
Hire A Developer
Questions
If you're looking for a particular string, put quotes around it:
awk '$1 == "findtext" {print $3}'
Otherwise, awk will assume it's a variable name.