title: GREP/GAWK If .txt file contains string copy file
body: <p>okay so i know of grep -rhi, which extrats the line if string is found, but I want to copy the entire file so for example,</p>
  
  <p>file.txt ></p>
  
  <pre><code> isexample #new
   iesameplxpele
   ieamama #new
  </code></pre>
  
  <p>now if I used grep -rhi "#new", it would extract only</p>
  
  <pre><code>isexample #new
  ieamama #new
  </code></pre>
  
  <p>where as I want all the contents within the file including</p>
  
  <pre><code>iesameplxpele
  </code></pre>
  
  <p>How would I do this? </p>
  
  <p>Of course the .txt file must contain #new in either one of its lines.</p>