title: bash script to find pattern in text file and return entire line
body: <p>I need to make a bash script which loops through a bunch of .txt files in a directory, then searches each .txt for a string, and returns the entire line that string appears on</p>
  
  <p>I know how to look through all the .txt files in the directory, </p>
  
  <p>I just need to be pointed in the right direction for searching the file itself, and returning a line based on a match in that line</p>