How to display in the terminal between two templates?

For example

echo You need emergency help | awk /You/,/help/ You need emergency help 

I need a conclusion only: need emergency. I don't need the whole line

  • awk '$ 1 == "You", $ 1 == "help" {print $ 2 FS $ 3}' - Low-voltage systems engineer

1 answer 1

 awk '$1 == "You", $1 == "help" {print $2 FS $3}' 
  • Do not you think that something is missing? Correct the answer. - 0xdb