Skip to main content
2 of 2
deleted 119 characters in body
Ed Morton
  • 35.9k
  • 6
  • 25
  • 60

Assuming you only want to test the values in the 2nd column, you should be doing this:

awk '$2 ~ /entry/{print $2}' file
Ed Morton
  • 35.9k
  • 6
  • 25
  • 60