Linux grep command with relevant values as output

For your case, you have one line of leading and one line of trailing context you care about, so grep -C1 Toronto input should do it.

Leave a Comment